Output stream for performing write operations on a socket. More...
#include <src/main/decaf/internal/net/tcp/TcpSocketOutputStream.h>

Public Member Functions | ||||
| TcpSocketOutputStream (TcpSocket *socket) | ||||
| Create a new instance of a Socket OutputStream class. | ||||
| virtual | ~TcpSocketOutputStream () | |||
| virtual void | close () | |||
Closes this object and deallocates the appropriate resources.The object is generally no longer usable after calling close.
| ||||
Protected Member Functions | ||||
| virtual void | doWriteByte (unsigned char c) | |||
| virtual void | doWriteArrayBounded (const unsigned char *buffer, int size, int offset, int length) | |||
Output stream for performing write operations on a socket.
| decaf::internal::net::tcp::TcpSocketOutputStream::TcpSocketOutputStream | ( | TcpSocket * | socket | ) |
Create a new instance of a Socket OutputStream class.
| socket | The socket to use to write out the data. |
| virtual decaf::internal::net::tcp::TcpSocketOutputStream::~TcpSocketOutputStream | ( | ) | [virtual] |
| virtual void decaf::internal::net::tcp::TcpSocketOutputStream::close | ( | ) | [virtual] |
Closes this object and deallocates the appropriate resources.The object is generally no longer usable after calling close.
| IOException | if an error occurs while closing. |
The default implementation of this method does nothing.
Reimplemented from decaf::io::OutputStream.
| virtual void decaf::internal::net::tcp::TcpSocketOutputStream::doWriteArrayBounded | ( | const unsigned char * | buffer, | |
| int | size, | |||
| int | offset, | |||
| int | length | |||
| ) | [protected, virtual] |
Reimplemented from decaf::io::OutputStream.
| virtual void decaf::internal::net::tcp::TcpSocketOutputStream::doWriteByte | ( | unsigned char | c | ) | [protected, virtual] |
Implements decaf::io::OutputStream.
1.6.1