public interface ClientConnectionInterface
Modifier and Type | Method and Description |
---|---|
void |
closeClientListener()
Closes and disposes of the connection listener.
|
void |
createClientListener(IniFile ini,
String name)
This method creates a listener for incoming client connections.
|
String |
getID()
Gets the name (ID) of the port.
|
int |
getLocalPort()
Gets the local port number.
|
int |
getMapToPort()
Gets the port number being mapped to.
|
boolean |
isClosed()
Checks if a connection is closed.
|
boolean |
isLoadBalanced()
Checks if this listener is load balanced or not.
|
boolean |
isStarted()
Checks if a connection is started.
|
boolean |
isUsingSSL()
Returns if SSL is used or not.
|
boolean |
startClientListener(ClientConnectionListener listener)
This method starts listening for connections.
|
boolean |
stopClientListener()
This method stops listening for connections.
|
void createClientListener(IniFile ini, String name) throws IOException
IOException
boolean startClientListener(ClientConnectionListener listener) throws IOException
IOException
boolean stopClientListener() throws IOException
IOException
void closeClientListener()
boolean isStarted()
boolean isLoadBalanced()
boolean isUsingSSL()
String getID()
int getLocalPort()
int getMapToPort()
boolean isClosed()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.