C# Class EventStore.Transport.Tcp.TcpConnection

Inheritance: TcpConnectionBase, ITcpConnection
Afficher le fichier Open project: ysw/mono-socket-problem Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
EnqueueSend ( IEnumerable data ) : void
ReceiveAsync ( Action callback ) : void
ToString ( ) : string

Private Methods

Méthode Description
CloseInternal ( SocketError socketError ) : void
CreateAcceptedTcpConnection ( IPEndPoint effectiveEndPoint, Socket socket ) : TcpConnection
CreateConnectingTcpConnection ( IPEndPoint remoteEndPoint, EventStore.Transport.Tcp.TcpClientConnector connector, Action onConnectionEstablished, SocketError>.Action onConnectionFailed ) : TcpConnection
InitSocket ( Socket socket ) : void
OnReceiveAsyncCompleted ( object sender, SocketAsyncEventArgs e ) : void
OnSendAsyncCompleted ( object sender, SocketAsyncEventArgs e ) : void
ProcessReceive ( SocketAsyncEventArgs socketArgs ) : void
ProcessSend ( SocketAsyncEventArgs socketArgs ) : void
ReturnReceivingSocketArgs ( ) : void
ReturnSendingSocketArgs ( ) : void
StartReceive ( ) : void
TcpConnection ( IPEndPoint effectiveEndPoint ) : System
TryDequeueReceivedData ( ) : void
TrySend ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

EnqueueSend() public méthode

public EnqueueSend ( IEnumerable data ) : void
data IEnumerable
Résultat void

ReceiveAsync() public méthode

public ReceiveAsync ( Action callback ) : void
callback Action
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string