프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
BeginReceive ( ) : void | ||
BeginReceive ( ReceivedDataCallback callback ) : void | ||
Close ( ) : void | ||
Close ( |
||
Configure ( IConnectionConfig config ) : void | ||
Dispose ( ) : void | ||
InvokeReceiveIfNotNull ( NetworkData data ) : void | ||
IsOpen ( ) : bool | ||
Open ( ) : void | ||
OpenAsync ( ) : Task |
||
Send ( NetworkData data ) : void | ||
Send ( byte buffer, int index, int length, INode destination ) : void | ||
StopReceive ( ) : void | ||
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
BeginReceiveInternal ( ) : void | ||
CheckWasDisposed ( ) : void |
Prevents disposed connections from being re-used again
|
|
CreateNetworkState ( Socket socket, INode remotehost ) : NetworkState | ||
CreateNetworkState ( Socket socket, INode remotehost, IByteBuf buffer, int bufferSize ) : NetworkState | ||
Dispose ( bool disposing ) : void | ||
InvokeConnectIfNotNull ( INode remoteHost ) : void | ||
InvokeDisconnectIfNotNull ( INode remoteHost, |
||
InvokeErrorIfNotNull ( |
||
ReceiveCallback ( IAsyncResult ar ) : void | ||
SendInternal ( byte buffer, int index, int length, INode destination ) : void | ||
UnstreamedConnectionBase ( NetworkEventLoop eventLoop, INode binding, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System | ||
UnstreamedConnectionBase ( NetworkEventLoop eventLoop, INode binding, System.TimeSpan timeout, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System | ||
UnstreamedConnectionBase ( int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System |
public BeginReceive ( ReceivedDataCallback callback ) : void | ||
callback | ReceivedDataCallback | |
리턴 | void |
public abstract Close ( |
||
reason | ||
리턴 | void |
public abstract Configure ( IConnectionConfig config ) : void | ||
config | IConnectionConfig | |
리턴 | void |
protected CreateNetworkState ( Socket socket, INode remotehost ) : NetworkState | ||
socket | Socket | |
remotehost | INode | |
리턴 | NetworkState |
protected CreateNetworkState ( Socket socket, INode remotehost, IByteBuf buffer, int bufferSize ) : NetworkState | ||
socket | Socket | |
remotehost | INode | |
buffer | IByteBuf | |
bufferSize | int | |
리턴 | NetworkState |
protected InvokeConnectIfNotNull ( INode remoteHost ) : void | ||
remoteHost | INode | |
리턴 | void |
protected InvokeDisconnectIfNotNull ( INode remoteHost, |
||
remoteHost | INode | |
ex | ||
리턴 | void |
protected InvokeErrorIfNotNull ( |
||
ex | ||
리턴 | void |
public InvokeReceiveIfNotNull ( NetworkData data ) : void | ||
data | NetworkData | |
리턴 | void |
protected ReceiveCallback ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | |
리턴 | void |
public Send ( byte buffer, int index, int length, INode destination ) : void | ||
buffer | byte | |
index | int | |
length | int | |
destination | INode | |
리턴 | void |
protected abstract SendInternal ( byte buffer, int index, int length, INode destination ) : void | ||
buffer | byte | |
index | int | |
length | int | |
destination | INode | |
리턴 | void |
protected UnstreamedConnectionBase ( NetworkEventLoop eventLoop, INode binding, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System | ||
eventLoop | NetworkEventLoop | |
binding | INode | |
encoder | IMessageEncoder | |
decoder | IMessageDecoder | |
allocator | IByteBufAllocator | |
bufferSize | int | |
리턴 | System |
protected UnstreamedConnectionBase ( NetworkEventLoop eventLoop, INode binding, System.TimeSpan timeout, IMessageEncoder encoder, IMessageDecoder decoder, IByteBufAllocator allocator, int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System | ||
eventLoop | NetworkEventLoop | |
binding | INode | |
timeout | System.TimeSpan | |
encoder | IMessageEncoder | |
decoder | IMessageDecoder | |
allocator | IByteBufAllocator | |
bufferSize | int | |
리턴 | System |
protected UnstreamedConnectionBase ( int bufferSize = NetworkConstants.DEFAULT_BUFFER_SIZE ) : System | ||
bufferSize | int | |
리턴 | System |