Property | Type | Description |
---|
Method | Description | |
---|---|---|
BindAsync ( |
||
CloseAsync ( ) : System.Threading.Tasks.Task | ||
ConnectAsync ( |
||
ConnectAsync ( |
||
DeregisterAsync ( ) : System.Threading.Tasks.Task | ||
DisconnectAsync ( ) : System.Threading.Tasks.Task | ||
Flush ( ) : IChannel | ||
GetHashCode ( ) : int | ||
Read ( ) : IChannel | ||
ToString ( ) : string | ||
WriteAndFlushAsync ( object message ) : System.Threading.Tasks.Task | ||
WriteAsync ( object message ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
AbstractChannel ( IChannel parent ) : System | ||
AbstractChannel ( IChannelId id, IChannel parent ) : System | ||
CacheLocalAddress ( ) : |
||
CacheRemoteAddress ( ) : |
||
DoBeginRead ( ) : void |
ScheduleAsync a read operation.
|
|
DoBind ( |
Bind the {@link Channel} to the {@link EndPoint}
|
|
DoClose ( ) : void |
Close the {@link Channel}
|
|
DoDeregister ( ) : void |
Deregister the {@link Channel} from its {@link EventLoop}. Sub-classes may override this method
|
|
DoDisconnect ( ) : void |
Disconnect this {@link Channel} from its remote peer
|
|
DoRegister ( ) : void |
Is called after the {@link Channel} is registered with its {@link EventLoop} as part of the register process. Sub-classes may override this method
|
|
DoWrite ( ChannelOutboundBuffer input ) : void |
Flush the content of the given buffer to the remote peer.
|
|
FilterOutboundMessage ( object msg ) : object |
Invoked when a new message is added to a {@link ChannelOutboundBuffer} of this {@link AbstractChannel}, so that the {@link Channel} implementation converts the message to another. (e.g. heap buffer -> direct buffer)
|
|
InvalidateLocalAddress ( ) : void | ||
InvalidateRemoteAddress ( ) : void | ||
IsCompatible ( IEventLoop eventLoop ) : bool |
Return {@code true} if the given {@link EventLoop} is compatible with this instance.
|
|
NewUnsafe ( ) : IChannelUnsafe |
Create a new AbstractUnsafe instance which will be used for the life-time of the IChannel
|
protected AbstractChannel ( IChannel parent ) : System | ||
parent | IChannel | |
return | System |
protected AbstractChannel ( IChannelId id, IChannel parent ) : System | ||
id | IChannelId | |
parent | IChannel | |
return | System |
public BindAsync ( |
||
localAddress | ||
return | System.Threading.Tasks.Task |
protected CacheLocalAddress ( ) : |
||
return |
protected CacheRemoteAddress ( ) : |
||
return |
public CloseAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public ConnectAsync ( |
||
remoteAddress | ||
return | System.Threading.Tasks.Task |
public ConnectAsync ( |
||
remoteAddress | ||
localAddress | ||
return | System.Threading.Tasks.Task |
public DeregisterAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public DisconnectAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
protected abstract DoBind ( |
||
localAddress | ||
return | void |
protected abstract DoWrite ( ChannelOutboundBuffer input ) : void | ||
input | ChannelOutboundBuffer | |
return | void |
protected FilterOutboundMessage ( object msg ) : object | ||
msg | object | |
return | object |
protected abstract IsCompatible ( IEventLoop eventLoop ) : bool | ||
eventLoop | IEventLoop | |
return | bool |
protected abstract NewUnsafe ( ) : IChannelUnsafe | ||
return | IChannelUnsafe |
public WriteAndFlushAsync ( object message ) : System.Threading.Tasks.Task | ||
message | object | |
return | System.Threading.Tasks.Task |
public WriteAsync ( object message ) : System.Threading.Tasks.Task | ||
message | object | |
return | System.Threading.Tasks.Task |