Simulacrum  1.2
Public Member Functions | List of all members
Simulacrum::SClient Class Reference

#include <snet.h>

Collaboration diagram for Simulacrum::SClient:
Collaboration graph

Public Member Functions

 SClient ()
 
 ~SClient ()
 
bool open (const std::string &address, short port)
 
bool isOpen () const
 
void close ()
 
const std::string & address () const
 
short port () const
 
ssocket_t & socket ()
 
int read (char *data, long long int length)
 
int write (const char *data, long long int length)
 

Constructor & Destructor Documentation

◆ SClient()

SClient::SClient ( )

◆ ~SClient()

SClient::~SClient ( )

Member Function Documentation

◆ address()

const std::string & SClient::address ( ) const

◆ close()

void SClient::close ( )

◆ isOpen()

bool SClient::isOpen ( ) const

◆ open()

bool SClient::open ( const std::string &  address,
short  port 
)

◆ port()

short int SClient::port ( ) const

◆ read()

int SClient::read ( char *  data,
long long int  length 
)

◆ socket()

ssocket_t & SClient::socket ( )

◆ write()

int SClient::write ( const char *  data,
long long int  length 
)

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