C# Class QuickFix.SocketReader

TODO merge with SocketInitiatorThread
Inheritance: IDisposable
Mostra file Open project: kennystone/quickfixn Class Usage Examples

Public Methods

Method Description
HandleException ( Session quickFixSession, System cause, TcpClient client ) : void
OnMessageFound ( string msg ) : void
Read ( ) : void

FIXME

SocketReader ( TcpClient tcpClient, ClientHandlerThread responder ) : System.Net.Sockets

Protected Methods

Method Description
DisconnectClient ( ) : void
DisconnectClient ( TcpClient client ) : void
HandleBadMessage ( string msg, System e ) : void
HandleNewSession ( string msg ) : bool
ProcessStream ( ) : void
ReadMessage ( string &msg ) : bool

Private Methods

Method Description
Log ( string s ) : void

FIXME do proper logging

Method Details

DisconnectClient() protected method

protected DisconnectClient ( ) : void
return void

DisconnectClient() protected static method

protected static DisconnectClient ( TcpClient client ) : void
client System.Net.Sockets.TcpClient
return void

HandleBadMessage() protected method

protected HandleBadMessage ( string msg, System e ) : void
msg string
e System
return void

HandleException() public method

public HandleException ( Session quickFixSession, System cause, TcpClient client ) : void
quickFixSession Session
cause System
client System.Net.Sockets.TcpClient
return void

HandleNewSession() protected method

protected HandleNewSession ( string msg ) : bool
msg string
return bool

OnMessageFound() public method

public OnMessageFound ( string msg ) : void
msg string
return void

ProcessStream() protected method

protected ProcessStream ( ) : void
return void

Read() public method

FIXME
public Read ( ) : void
return void

ReadMessage() protected method

protected ReadMessage ( string &msg ) : bool
msg string
return bool

SocketReader() public method

public SocketReader ( TcpClient tcpClient, ClientHandlerThread responder ) : System.Net.Sockets
tcpClient System.Net.Sockets.TcpClient
responder ClientHandlerThread
return System.Net.Sockets