activemq::network::SocketFactory Class Reference

#include <SocketFactory.h>

List of all members.

Public Member Functions

virtual ~SocketFactory ()

Static Public Member Functions

static SocketcreateSocket (const util::Properties &properties) throw ( SocketException )


Detailed Description

Socket Factory implementation for use in Creating Sockets

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

See also:
Socket


Constructor & Destructor Documentation

virtual activemq::network::SocketFactory::~SocketFactory  )  [virtual]
 


Member Function Documentation

Socket * SocketFactory::createSocket const util::Properties properties  )  throw ( SocketException ) [static]
 

Creates and returns a Socket dervied Object based on the values defined in the Properties Object that is passed in.

Parameters:
properties a IProperties pointer.
Exceptions:
SocketException. 


The documentation for this class was generated from the following files:
Generated on Thu Aug 3 18:03:33 2006 for activemq-cpp by  doxygen 1.4.5