public class DefaultAdminExit extends Object implements Runnable, ServerAdminExit
Constructor and Description |
---|
DefaultAdminExit() |
Modifier and Type | Method and Description |
---|---|
void |
clientConnectionChanged()
Called to inform of a client connection change.
|
void |
dispose()
Called to perform a clean-up and dispose of the user exit.
|
String |
getAddress()
Gets the server admin address used (as IP address 123.456.789.012).
|
int |
getPort()
Gets the server admin port used.
|
boolean |
initialize(ServerAdminInterface serverAdminInterface)
Called to set-up the server administration exit.
|
boolean |
isOperational()
Checks if the exit is operational.
|
void |
onSessionDisconnect(AdminCommandProcessor acp)
Handles notification of the end of an admin command session.
|
void |
run()
The thread runs here until the server is shut-down.
|
public boolean initialize(ServerAdminInterface serverAdminInterface)
initialize
in interface ServerAdminExit
public void clientConnectionChanged()
clientConnectionChanged
in interface ServerAdminExit
public void dispose()
dispose
in interface ServerAdminExit
public void run()
public void onSessionDisconnect(AdminCommandProcessor acp)
public boolean isOperational()
isOperational
in interface ServerAdminExit
public String getAddress()
getAddress
in interface ServerAdminExit
public int getPort()
getPort
in interface ServerAdminExit
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.