public interface IServerSecurityFactory
| Modifier and Type | Method and Description | 
|---|---|
java.net.ServerSocket | 
createServerSocket(java.net.InetSocketAddress socketAddress)
Creates the server socket. 
 | 
int | 
getMaxAmountOfConnections()
Gets the maximum amount of connections the TCP listener can handle. 
 | 
int | 
getReceiveBufferSize()
Returns the size of the receiving buffer in bytes. 
 | 
int | 
getReceiveTimeout()
Returns timeout setup for receiving a message. 
 | 
boolean | 
getReuseAddress()
Gets the flag indicating whether the socket can be bound to the address which is already in use. 
 | 
int | 
getSendBufferSize()
Returns the size of the sending buffer in bytes. 
 | 
int | 
getSendTimeout()
Returns timeout setup for sending a response message. 
 | 
void | 
setMaxAmountOfConnections(int maxAmountOfConnections)
Sets the maximum amount of connections the TCP listener can handle. 
 | 
void | 
setReceiveBufferSize(int bufferSize)
Sets the size of receiving buffer in bytes. 
 | 
void | 
setReceiveTimeout(int receiveTimeout)
Sets timeout for receiving a message. 
 | 
void | 
setReuseAddress(boolean allowReuseAddress)
Sets the flag indicating whether the socket can be bound to the address which is already in use. 
 | 
void | 
setSendBufferSize(int bufferSize)
Sets the size of sending buffer in bytes. 
 | 
void | 
setSendTimeout(int sendTimeout)
Sets timeout for sending a response message. 
 | 
java.net.ServerSocket createServerSocket(java.net.InetSocketAddress socketAddress)
                                  throws java.lang.Exception
socketAddress - addressjava.lang.Exceptionvoid setSendTimeout(int sendTimeout)
sendTimeout - int getSendTimeout()
void setReceiveTimeout(int receiveTimeout)
receiveTimeout - int getReceiveTimeout()
void setSendBufferSize(int bufferSize)
bufferSize - size of the buffer in bytes. (use 8192 by default)int getSendBufferSize()
void setReceiveBufferSize(int bufferSize)
bufferSize - size of the buffer in bytes. (use 8192 by default)int getReceiveBufferSize()
void setReuseAddress(boolean allowReuseAddress)
allowReuseAddress - true if the socket can be bound to the address which is already in use.boolean getReuseAddress()
int getMaxAmountOfConnections()
void setMaxAmountOfConnections(int maxAmountOfConnections)
maxAmountOfConnections -