public abstract class SocketHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id
The ID of the port.
|
protected boolean |
isLoadBalanced
Flag for load balancing used.
|
Constructor and Description |
---|
SocketHelper() |
Modifier and Type | Method and Description |
---|---|
String |
getLocalAddress(ISocket socket)
Gets the local address of the socket.
|
String |
getLocalName(ISocket socket)
Gets the local name of the socket.
|
String |
getPortID()
Gets the port ID.
|
boolean |
isLoadBalanced()
Checks if the port is load balanced.
|
void |
setLoadBalancing(boolean isLoadBalanced)
Sets load balancing.
|
protected String id
protected boolean isLoadBalanced
public String getLocalName(ISocket socket)
public String getLocalAddress(ISocket socket)
public String getPortID()
public void setLoadBalancing(boolean isLoadBalanced)
public boolean isLoadBalanced()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.