UTRemoteBot::UTConnection Class Reference

List of all members.

Properties

internal bool IsConnected

Private Member Functions

internal UTConnection (string server, int port, TextWriter outputWriter, OutputLevel outputLevel)
internal int Connect ()
internal void Disconnect ()
void ClearAllQueues ()
void Run ()
internal void AddSyncMsgBlock ()
UTMessage GetMessage ()
internal void SendMessage (string message)
internal Queue< UTMessageGetAllMessages (Queue< UTMessage > queueToFill)

Private Attributes

internal const int MAX_MESSAGES = 512
const int MAX_MESSAGE_SIZE = 512
string serverAddress
int port
OutputLevel outputLevel
TextWriter output
Thread connectionThread = null
TcpClient tcpClientConnection
NetworkStream connectionStream = null
BinaryReader reader
char[] charBuffer = new char[MAX_MESSAGE_SIZE]
Queue< UTMessagetempSyncMsgQueue = new Queue<UTMessage>()
Queue< UTMessageasyncMsgQueue = new Queue<UTMessage>()
Queue< UTMessagesyncMsgQueue = new Queue<UTMessage>()

Constructor & Destructor Documentation

internal UTRemoteBot::UTConnection::UTConnection string  server,
int  port,
TextWriter  outputWriter,
OutputLevel  outputLevel
[inline, private]
 


Member Function Documentation

internal void UTRemoteBot::UTConnection::AddSyncMsgBlock  )  [inline, private]
 

void UTRemoteBot::UTConnection::ClearAllQueues  )  [inline, private]
 

internal int UTRemoteBot::UTConnection::Connect  )  [inline, private]
 

internal void UTRemoteBot::UTConnection::Disconnect  )  [inline, private]
 

internal Queue<UTMessage> UTRemoteBot::UTConnection::GetAllMessages Queue< UTMessage queueToFill  )  [inline, private]
 

UTMessage UTRemoteBot::UTConnection::GetMessage  )  [inline, private]
 

void UTRemoteBot::UTConnection::Run  )  [inline, private]
 

internal void UTRemoteBot::UTConnection::SendMessage string  message  )  [inline, private]
 


Member Data Documentation

Queue<UTMessage> UTRemoteBot::UTConnection::asyncMsgQueue = new Queue<UTMessage>() [private]
 

char [] UTRemoteBot::UTConnection::charBuffer = new char[MAX_MESSAGE_SIZE] [private]
 

NetworkStream UTRemoteBot::UTConnection::connectionStream = null [private]
 

Thread UTRemoteBot::UTConnection::connectionThread = null [private]
 

const int UTRemoteBot::UTConnection::MAX_MESSAGE_SIZE = 512 [private]
 

internal const int UTRemoteBot::UTConnection::MAX_MESSAGES = 512 [private]
 

TextWriter UTRemoteBot::UTConnection::output [private]
 

OutputLevel UTRemoteBot::UTConnection::outputLevel [private]
 

int UTRemoteBot::UTConnection::port [private]
 

BinaryReader UTRemoteBot::UTConnection::reader [private]
 

string UTRemoteBot::UTConnection::serverAddress [private]
 

Queue<UTMessage> UTRemoteBot::UTConnection::syncMsgQueue = new Queue<UTMessage>() [private]
 

TcpClient UTRemoteBot::UTConnection::tcpClientConnection [private]
 

Queue<UTMessage> UTRemoteBot::UTConnection::tempSyncMsgQueue = new Queue<UTMessage>() [private]
 


Property Documentation

internal bool UTRemoteBot::UTConnection::IsConnected [get, private]
 


The documentation for this class was generated from the following file:
Generated on Thu Jan 26 09:12:40 2006 for UTUserBot by  doxygen 1.4.6-NO