C# 클래스 FileFind.Meshwork.Transport.TransportBase

상속: ITransport
파일 보기 프로젝트 열기: codebutler/meshwork

보호된 프로퍼티들

프로퍼티 타입 설명
connectionType ulong
incoming bool
transportState TransportState

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
RaiseConnected ( ) : void
RaiseDisconnected ( Exception ex ) : void

메소드 상세

BeginReceive() 공개 메소드

public BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceiveMessage() 공개 메소드

public BeginReceiveMessage ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSendMessage() 공개 메소드

public BeginSendMessage ( byte buffer, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
callback AsyncCallback
state object
리턴 IAsyncResult

Connect() 공개 추상적인 메소드

public abstract Connect ( TransportCallback callback ) : void
callback TransportCallback
리턴 void

Disconnect() 공개 추상적인 메소드

public abstract Disconnect ( ) : void
리턴 void

Disconnect() 공개 추상적인 메소드

public abstract Disconnect ( Exception ex ) : void
ex System.Exception
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndReceiveMessage() 공개 메소드

public EndReceiveMessage ( IAsyncResult asyncResult ) : byte[]
asyncResult IAsyncResult
리턴 byte[]

EndSend() 공개 메소드

public EndSend ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndSendMessage() 공개 메소드

public EndSendMessage ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

RaiseConnected() 보호된 메소드

protected RaiseConnected ( ) : void
리턴 void

RaiseDisconnected() 보호된 메소드

protected RaiseDisconnected ( Exception ex ) : void
ex System.Exception
리턴 void

Receive() 공개 메소드

public Receive ( byte buffer ) : int
buffer byte
리턴 int

Receive() 공개 추상적인 메소드

public abstract Receive ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

ReceiveMessage() 공개 메소드

public ReceiveMessage ( ) : byte[]
리턴 byte[]

Send() 공개 메소드

public Send ( byte buffer ) : int
buffer byte
리턴 int

Send() 공개 추상적인 메소드

public abstract Send ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

SendMessage() 공개 메소드

public SendMessage ( byte buffer ) : void
buffer byte
리턴 void

프로퍼티 상세

connectionType 보호되어 있는 프로퍼티

protected ulong connectionType
리턴 ulong

incoming 보호되어 있는 프로퍼티

protected bool incoming
리턴 bool

transportState 보호되어 있는 프로퍼티

protected TransportState transportState
리턴 TransportState