#include <SocketFactory.h>
Public Member Functions | |
virtual | ~SocketFactory () |
Static Public Member Functions | |
static Socket * | createSocket (const util::Properties &properties) throw ( SocketException ) |
Property Options:
Name Value
-------------------------------------
uri The uri for the transport connection. Must be provided.
inputBufferSize size in bytes of the buffered input stream buffer. Defaults to 10000.
outputBufferSize size in bytes of the buffered output stream buffer. Defaults to 10000.
soLinger linger time for the socket (in microseconds). Defaults to 0.
soKeepAlive keep alive flag for the socket (true/false). Defaults to false.
soReceiveBufferSize The size of the socket receive buffer (in bytes). Defaults to 2MB.
soSendBufferSize The size of the socket send buffer (in bytes). Defaults to 2MB.
soTimeout The timeout of socket IO operations (in microseconds). Defaults to 10000
Socket
|
|
|
Creates and returns a Socket dervied Object based on the values defined in the Properties Object that is passed in.
|