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 ServerAdminExitpublic void clientConnectionChanged()
clientConnectionChanged in interface ServerAdminExitpublic void dispose()
dispose in interface ServerAdminExitpublic void run()
public void onSessionDisconnect(AdminCommandProcessor acp)
public boolean isOperational()
isOperational in interface ServerAdminExitpublic String getAddress()
getAddress in interface ServerAdminExitpublic int getPort()
getPort in interface ServerAdminExitPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.