C# Class FileFind.Meshwork.Transport.TransportBase

Inheritance: ITransport
Afficher le fichier Open project: codebutler/meshwork

Protected Properties

Свойство Type Description
connectionType ulong
incoming bool
transportState TransportState

Méthodes publiques

Méthode Description
BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginReceiveMessage ( AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginSendMessage ( byte buffer, AsyncCallback callback, object state ) : IAsyncResult
Connect ( TransportCallback callback ) : void
Disconnect ( ) : void
Disconnect ( Exception ex ) : void
EndReceive ( IAsyncResult asyncResult ) : int
EndReceiveMessage ( IAsyncResult asyncResult ) : byte[]
EndSend ( IAsyncResult asyncResult ) : int
EndSendMessage ( IAsyncResult asyncResult ) : void
Receive ( byte buffer ) : int
Receive ( byte buffer, int offset, int size ) : int
ReceiveMessage ( ) : byte[]
Send ( byte buffer ) : int
Send ( byte buffer, int offset, int size ) : int
SendMessage ( byte buffer ) : void

Méthodes protégées

Méthode Description
RaiseConnected ( ) : void
RaiseDisconnected ( Exception ex ) : void

Method Details

BeginReceive() public méthode

public BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
Résultat IAsyncResult

BeginReceiveMessage() public méthode

public BeginReceiveMessage ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
Résultat IAsyncResult

BeginSend() public méthode

public BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
Résultat IAsyncResult

BeginSendMessage() public méthode

public BeginSendMessage ( byte buffer, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
callback AsyncCallback
state object
Résultat IAsyncResult

Connect() public abstract méthode

public abstract Connect ( TransportCallback callback ) : void
callback TransportCallback
Résultat void

Disconnect() public abstract méthode

public abstract Disconnect ( ) : void
Résultat void

Disconnect() public abstract méthode

public abstract Disconnect ( Exception ex ) : void
ex System.Exception
Résultat void

EndReceive() public méthode

public EndReceive ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndReceiveMessage() public méthode

public EndReceiveMessage ( IAsyncResult asyncResult ) : byte[]
asyncResult IAsyncResult
Résultat byte[]

EndSend() public méthode

public EndSend ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndSendMessage() public méthode

public EndSendMessage ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

RaiseConnected() protected méthode

protected RaiseConnected ( ) : void
Résultat void

RaiseDisconnected() protected méthode

protected RaiseDisconnected ( Exception ex ) : void
ex System.Exception
Résultat void

Receive() public méthode

public Receive ( byte buffer ) : int
buffer byte
Résultat int

Receive() public abstract méthode

public abstract Receive ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
Résultat int

ReceiveMessage() public méthode

public ReceiveMessage ( ) : byte[]
Résultat byte[]

Send() public méthode

public Send ( byte buffer ) : int
buffer byte
Résultat int

Send() public abstract méthode

public abstract Send ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
Résultat int

SendMessage() public méthode

public SendMessage ( byte buffer ) : void
buffer byte
Résultat void

Property Details

connectionType protected_oe property

protected ulong connectionType
Résultat ulong

incoming protected_oe property

protected bool incoming
Résultat bool

transportState protected_oe property

protected TransportState transportState
Résultat TransportState