Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.html?rev=428212&view=auto ============================================================================== --- incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.html (added) +++ incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.html Wed Aug 2 19:24:43 2006 @@ -0,0 +1,421 @@ + +
+#include <SocketInputStream.h>
++
Inheritance diagram for activemq::network::SocketInputStream: +

Public Member Functions | |
| SocketInputStream (Socket::SocketHandle socket) | |
| virtual | ~SocketInputStream () |
| virtual void | setDebug (const bool debug) |
| virtual void | lock () throw ( exceptions::ActiveMQException ) |
| virtual void | unlock () throw ( exceptions::ActiveMQException ) |
| virtual void | wait () throw ( exceptions::ActiveMQException ) |
| virtual void | wait (unsigned long millisecs) throw ( exceptions::ActiveMQException ) |
| virtual void | notify () throw ( exceptions::ActiveMQException ) |
| virtual void | notifyAll () throw ( exceptions::ActiveMQException ) |
| virtual int | available () const |
| virtual unsigned char | read () throw ( io::IOException ) |
| virtual int | read (unsigned char *buffer, const int bufferSize) throw (io::IOException) |
| virtual void | close () throw ( cms::CMSException ) |
+
| SocketInputStream::SocketInputStream | +( | +Socket::SocketHandle | +socket | +) | ++ |
+Constructor.
| socket | the socket handle. |
| SocketInputStream::~SocketInputStream | +( | ++ | ) | + [virtual] |
+
+Destructor. +
+
| int SocketInputStream::available | +( | ++ | ) | + const [virtual] |
+
+Polls instantaneously to see if data is available on the socket.
+Implements activemq::io::InputStream. +
| virtual void activemq::network::SocketInputStream::close | +( | +void | ++ | ) | + throw ( cms::CMSException ) [inline, virtual] |
+
+Close - does nothing. It is the responsibility of the owner of the socket object to close it.
| CMSException |
+Implements cms::Closeable. +
| virtual void activemq::network::SocketInputStream::lock | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Locks the object.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketInputStream::notify | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Signals a waiter on this object that it can now wake up and continue. Must have this object locked before calling.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketInputStream::notifyAll | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Signals the waiters on this object that it can now wake up and continue. Must have this object locked before calling.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| int SocketInputStream::read | +( | +unsigned char * | +buffer, | +|
| + | + | const int | +bufferSize | + |
| + | ) | + throw (io::IOException) [virtual] |
+
+Reads an array of bytes from the buffer.
| buffer | (out) the target buffer. | |
| bufferSize | the size of the output buffer. |
| IOException | thrown if an error occurs. |
+Implements activemq::io::InputStream. +
| unsigned char SocketInputStream::read | +( | ++ | ) | + throw ( io::IOException ) [virtual] |
+
+Reads a single byte from the buffer.
| IOException | thrown if an error occurs. |
+Implements activemq::io::InputStream. +
| virtual void activemq::network::SocketInputStream::setDebug | +( | +const bool | +debug | +) | + [inline, virtual] |
+
+Enables socket level output of the recieved data
| debug | true to turn on debugging |
| virtual void activemq::network::SocketInputStream::unlock | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Unlocks the object.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketInputStream::wait | +( | +unsigned long | +millisecs | +) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling. This wait will timeout after the specified time interval.
| millisecs | time in millisecsonds to wait, or WAIT_INIFINITE |
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketInputStream::wait | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
+
1.4.7
+
+
Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.png
URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.png?rev=428212&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_input_stream.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream-members.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream-members.html?rev=428212&view=auto
==============================================================================
--- incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream-members.html (added)
+++ incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream-members.html Wed Aug 2 19:24:43 2006
@@ -0,0 +1,36 @@
+
+
+| close() | activemq::network::SocketOutputStream | [inline, virtual] |
| flush() | activemq::network::SocketOutputStream | [inline, virtual] |
| lock() | activemq::network::SocketOutputStream | [inline, virtual] |
| notify() | activemq::network::SocketOutputStream | [inline, virtual] |
| notifyAll() | activemq::network::SocketOutputStream | [inline, virtual] |
| setDebug(const bool debug) | activemq::network::SocketOutputStream | [inline, virtual] |
| SocketOutputStream(Socket::SocketHandle socket) | activemq::network::SocketOutputStream | |
| unlock() | activemq::network::SocketOutputStream | [inline, virtual] |
| wait() | activemq::network::SocketOutputStream | [inline, virtual] |
| wait(unsigned long millisecs) | activemq::network::SocketOutputStream | [inline, virtual] |
| write(const unsigned char c) | activemq::network::SocketOutputStream | [virtual] |
| write(const unsigned char *buffer, const int len) | activemq::network::SocketOutputStream | [virtual] |
1.4.7
+
+
Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.html?rev=428212&view=auto
==============================================================================
--- incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.html (added)
+++ incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.html Wed Aug 2 19:24:43 2006
@@ -0,0 +1,404 @@
+
+
+#include <SocketOutputStream.h>
++
Inheritance diagram for activemq::network::SocketOutputStream: +

Public Member Functions | |
| SocketOutputStream (Socket::SocketHandle socket) | |
| virtual void | setDebug (const bool debug) |
| virtual void | lock () throw ( exceptions::ActiveMQException ) |
| virtual void | unlock () throw ( exceptions::ActiveMQException ) |
| virtual void | wait () throw ( exceptions::ActiveMQException ) |
| virtual void | wait (unsigned long millisecs) throw ( exceptions::ActiveMQException ) |
| virtual void | notify () throw ( exceptions::ActiveMQException ) |
| virtual void | notifyAll () throw ( exceptions::ActiveMQException ) |
| virtual void | write (const unsigned char c) throw ( io::IOException ) |
| virtual void | write (const unsigned char *buffer, const int len) throw ( io::IOException ) |
| virtual void | flush () throw ( io::IOException ) |
| virtual void | close () throw ( cms::CMSException ) |
+
| SocketOutputStream::SocketOutputStream | +( | +Socket::SocketHandle | +socket | +) | ++ |
+Constructor.
| socket | the socket handle. |
+
| virtual void activemq::network::SocketOutputStream::close | +( | +void | ++ | ) | + throw ( cms::CMSException ) [inline, virtual] |
+
+Close - does nothing. It is the responsibility of the owner of the socket object to close it.
| CMSException |
+Implements cms::Closeable. +
| virtual void activemq::network::SocketOutputStream::flush | +( | +void | ++ | ) | + throw ( io::IOException ) [inline, virtual] |
+
+Flush - does nothing.
| IOException |
+Implements activemq::io::OutputStream. +
| virtual void activemq::network::SocketOutputStream::lock | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Locks the object.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketOutputStream::notify | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Signals a waiter on this object that it can now wake up and continue. Must have this object locked before calling.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketOutputStream::notifyAll | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Signals the waiters on this object that it can now wake up and continue. Must have this object locked before calling. +
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketOutputStream::setDebug | +( | +const bool | +debug | +) | + [inline, virtual] |
+
+Enables Debugging of Socket Data
| debug | true to enable |
| virtual void activemq::network::SocketOutputStream::unlock | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Unlocks the object.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketOutputStream::wait | +( | +unsigned long | +millisecs | +) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling. This wait will timeout after the specified time interval.
| millisecs | time in millisecsonds to wait, or WAIT_INIFINITE |
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| virtual void activemq::network::SocketOutputStream::wait | +( | ++ | ) | + throw ( exceptions::ActiveMQException ) [inline, virtual] |
+
+Waits on a signal from this object, which is generated by a call to Notify. Must have this object locked before calling.
| ActiveMQException |
+Implements activemq::concurrent::Synchronizable. +
| void SocketOutputStream::write | +( | +const unsigned char * | +buffer, | +|
| + | + | const int | +len | + |
| + | ) | + throw ( io::IOException ) [virtual] |
+
+Writes an array of bytes to the output stream.
| buffer | The array of bytes to write. | |
| len | The number of bytes from the buffer to be written. |
| IOException | thrown if an error occurs. |
+Implements activemq::io::OutputStream. +
| void SocketOutputStream::write | +( | +const unsigned char | +c | +) | + throw ( io::IOException ) [virtual] |
+
+Writes a single byte to the output stream.
| c | the byte. |
| IOException | thrown if an error occurs. |
+Implements activemq::io::OutputStream. +
+
1.4.7
+
+
Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.png
URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.png?rev=428212&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_socket_output_stream.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_tcp_socket-members.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_tcp_socket-members.html?rev=428212&view=auto
==============================================================================
--- incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_tcp_socket-members.html (added)
+++ incubator/activemq/site/cms/html/classactivemq_1_1network_1_1_tcp_socket-members.html Wed Aug 2 19:24:43 2006
@@ -0,0 +1,45 @@
+
+
+
1.4.7
+
+