Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar Namespace Reference


Detailed Description

Ishtar is the namespace of the Ishtar class library.


Classes

class  FileOutputStream
 An output file stream to which we can write. More...
class  FileInputStream
 An input file stream from which we can read. More...
class  TCPIPAddress
 A TCP/IP version 4 address. More...
class  SocketHelper
 Useful functions for sockets. More...
class  Socket
 A socket, a TCP/IP binary stream. More...
class  NetworkClient
 A client that connect to a TCP/IP host. User code subclass should inherits from NetworkClient and implement incomingData and ocnnectionClosed. More...
class  NetworkServer
 A server that listen on a TCP/IP host. User code subclass should inherits from NetworkServer and implement incomingData, incomingConnection and ocnnectionClosed. More...
struct  EndianDiscoverer
 In constructor, discover the endianess. More...
class  OutputStream
 An output stream to which we can write. More...
class  InputStream
 An input stream from which we can read. More...

Typedefs

typedef signed char Int8
 8 bits signed integer
typedef unsigned char UInt8
 8 bits unsigned integer
typedef signed short Int16
 16 bits signed integer
typedef unsigned short UInt16
 16 bits unsigned integer
typedef signed int Int32
 32 bits signed integer
typedef unsigned int UInt32
 32 bits unsigned integer
typedef size_t Size
 unsigned integer, size big enough to represents as many elements as there is bytes in memory. Same size as pointer

Functions

void termHandler (int t)
 Called when SIGTERM arrives, halts NetworkServer run.
template<typename T>
void swapBytesIfRequired (T &v)
 Swap bytes if system is little endian.

Variables

SocketHelper socketHelper
 Instance of socket helper.
const size_t startSendBufferSize = 256
 Size of a newly allocated send buffer.
const size_t bigSendSize = 65536
 When size of send buffer is bigSendSize, send it, even if flush hasn't been called.
int netRun = 1
 Network server is running, set to 0 by SIGTERM.
EndianDiscoverer endianDiscoverer
 Static instance of endianDiscoverer, can be queried to know what the system endian is.


Generated on Mon Oct 24 17:30:54 2005 for libishtarnet by  doxygen 1.4.2