IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Forms.TestTcpClient Class Reference
+ Collaboration diagram for IG.Forms.TestTcpClient:

Public Member Functions

 TestTcpClient ()
 
 TestTcpClient (string IP, int portnum)
 
void Connect ()
 
void DisConnect ()
 
void Ping ()
 
void SendData (string Data)
 
void ClientTest ()
 
void ClientExampleMain ()
 
void Report (string str)
 
void ReportMarked (string str)
 
void ReportError (string str)
 
void ReportError (Exception e, string additionalmessage)
 
void ReportError (Exception e)
 

Public Attributes

int Port = 8000
 
string IPAddr = "127.0.0.1"
 
int ID = 0
 

Properties

ConsoleForm ClientConsole [get, set]
 Returns the client's own console. More...
 

Private Member Functions

bool ConsoleReady ()
 
void CloseConsoleHandler (object sender, System.EventArgs e)
 

Private Attributes

int MaxReportLength = 60
 
string ReceivedMessage = null
 
int NumRequests = 0
 
TcpClient client = null
 
NetworkStream stream = null
 
BinaryWriter w = null
 
BinaryReader r =null
 
bool Connected = false
 
ConsoleForm clientcons = null
 
ConsoleForm auxcons
 
int reccount = 0
 

Static Private Attributes

static int numinstances = 0
 
static int totcount = 0
 

Constructor & Destructor Documentation

IG.Forms.TestTcpClient.TestTcpClient ( )
inline
IG.Forms.TestTcpClient.TestTcpClient ( string  IP,
int  portnum 
)
inline

Member Function Documentation

void IG.Forms.TestTcpClient.Connect ( )
inline
void IG.Forms.TestTcpClient.DisConnect ( )
inline
void IG.Forms.TestTcpClient.Ping ( )
inline
void IG.Forms.TestTcpClient.SendData ( string  Data)
inline
void IG.Forms.TestTcpClient.ClientTest ( )
inline
bool IG.Forms.TestTcpClient.ConsoleReady ( )
inlineprivate
void IG.Forms.TestTcpClient.CloseConsoleHandler ( object  sender,
System.EventArgs  e 
)
inlineprivate
void IG.Forms.TestTcpClient.Report ( string  str)
inline
void IG.Forms.TestTcpClient.ReportMarked ( string  str)
inline
void IG.Forms.TestTcpClient.ReportError ( string  str)
inline
void IG.Forms.TestTcpClient.ReportError ( Exception  e,
string  additionalmessage 
)
inline
void IG.Forms.TestTcpClient.ReportError ( Exception  e)
inline

Member Data Documentation

int IG.Forms.TestTcpClient.Port = 8000
string IG.Forms.TestTcpClient.IPAddr = "127.0.0.1"
int IG.Forms.TestTcpClient.MaxReportLength = 60
private
int IG.Forms.TestTcpClient.ID = 0
int IG.Forms.TestTcpClient.numinstances = 0
staticprivate
string IG.Forms.TestTcpClient.ReceivedMessage = null
private
int IG.Forms.TestTcpClient.NumRequests = 0
private
TcpClient IG.Forms.TestTcpClient.client = null
private
NetworkStream IG.Forms.TestTcpClient.stream = null
private
BinaryWriter IG.Forms.TestTcpClient.w = null
private
BinaryReader IG.Forms.TestTcpClient.r =null
private
bool IG.Forms.TestTcpClient.Connected = false
private
ConsoleForm IG.Forms.TestTcpClient.clientcons = null
private
ConsoleForm IG.Forms.TestTcpClient.auxcons
private
int IG.Forms.TestTcpClient.reccount = 0
private
int IG.Forms.TestTcpClient.totcount = 0
staticprivate

Property Documentation

ConsoleForm IG.Forms.TestTcpClient.ClientConsole
getset

Returns the client's own console.


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