MASA-Core
Public Member Functions | Private Member Functions | Private Attributes
SocketCellsWriter Class Reference

Detailed Description

Definition at line 29 of file SocketCellsWriter.hpp.

#include <SocketCellsWriter.hpp>

Inheritance diagram for SocketCellsWriter:
CellsWriter

List of all members.

Public Member Functions

 SocketCellsWriter (string hostname, int port)
virtual ~SocketCellsWriter ()
virtual void close ()
virtual int write (const cell_t *buf, int len)

Private Member Functions

void init ()

Private Attributes

string hostname
int port
int socketfd

Constructor & Destructor Documentation

SocketCellsWriter::SocketCellsWriter ( string  hostname,
int  port 
)

Definition at line 35 of file SocketCellsWriter.cpp.

Definition at line 42 of file SocketCellsWriter.cpp.


Member Function Documentation

void SocketCellsWriter::close ( ) [virtual]

Implements CellsWriter.

Definition at line 46 of file SocketCellsWriter.cpp.

void SocketCellsWriter::init ( ) [private]

Definition at line 63 of file SocketCellsWriter.cpp.

int SocketCellsWriter::write ( const cell_t buf,
int  len 
) [virtual]

Implements CellsWriter.

Definition at line 54 of file SocketCellsWriter.cpp.


Member Data Documentation

string SocketCellsWriter::hostname [private]

Definition at line 37 of file SocketCellsWriter.hpp.

int SocketCellsWriter::port [private]

Definition at line 38 of file SocketCellsWriter.hpp.

Definition at line 39 of file SocketCellsWriter.hpp.


The documentation for this class was generated from the following files: