VCF::UDPSocketOutputStream Class Reference
#include <vcf/NetworkKit/Socket.h>
Inheritance diagram for VCF::UDPSocketOutputStream:

Public Member Functions | |
| UDPSocketOutputStream (UDPSocket &socket, const IPEndPoint &sendTo) | |
| virtual void | seek (const uint64 &offset, const SeekType &offsetFrom) |
| Seeking is not permitted! | |
| virtual uint64 | getSize () |
| returns the size of the stream. | |
| virtual uchar * | getBuffer () |
| Returns NULL - this is not permitted. | |
| virtual uint64 | getCurrentSeekPos () |
| this is a global offset from the beggining of the stream | |
| virtual uint64 | write (const unsigned char *bytesToWrite, uint64 sizeOfBytes) |
| Attempts to write sizeOfBytes to the socket associated with this stream. | |
| uint64 | writeTo (const unsigned char *bytesToWrite, uint64 sizeOfBytes, const IPEndPoint &to) |
Protected Attributes | |
| uint64 | totalBytesWritten_ |
| Socket * | socket_ |
| IPEndPoint | sendTo_ |
Constructor & Destructor Documentation
|
||||||||||||
|
|
Member Function Documentation
|
|
Returns NULL - this is not permitted.
Implements VCF::Stream. |
|
|
this is a global offset from the beggining of the stream
Implements VCF::Stream. |
|
|
returns the size of the stream. The size represents the number of bytes that have been written, or read to/from the stream Implements VCF::Stream. |
|
||||||||||||
|
Seeking is not permitted!
Implements VCF::Stream. |
|
||||||||||||
|
Attempts to write sizeOfBytes to the socket associated with this stream. The method will return the number of bytes written to the socket. The return value may be the following:
Implements VCF::OutputStream. |
|
||||||||||||||||
|
|
Member Data Documentation
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/NetworkKit/Socket.h
