Свойство | Type | Description |
---|
Méthode | 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 |
Méthode | 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 | |
Résultat | System |
protected AbstractChannel ( IChannelId id, IChannel parent ) : System | ||
id | IChannelId | |
parent | IChannel | |
Résultat | System |
public BindAsync ( |
||
localAddress | ||
Résultat | System.Threading.Tasks.Task |
protected CacheLocalAddress ( ) : |
||
Résultat |
protected CacheRemoteAddress ( ) : |
||
Résultat |
public CloseAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public ConnectAsync ( |
||
remoteAddress | ||
Résultat | System.Threading.Tasks.Task |
public ConnectAsync ( |
||
remoteAddress | ||
localAddress | ||
Résultat | System.Threading.Tasks.Task |
public DeregisterAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public DisconnectAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
protected abstract DoBind ( |
||
localAddress | ||
Résultat | void |
protected abstract DoWrite ( ChannelOutboundBuffer input ) : void | ||
input | ChannelOutboundBuffer | |
Résultat | void |
protected FilterOutboundMessage ( object msg ) : object | ||
msg | object | |
Résultat | object |
protected InvalidateLocalAddress ( ) : void | ||
Résultat | void |
protected InvalidateRemoteAddress ( ) : void | ||
Résultat | void |
protected abstract IsCompatible ( IEventLoop eventLoop ) : bool | ||
eventLoop | IEventLoop | |
Résultat | bool |
protected abstract NewUnsafe ( ) : IChannelUnsafe | ||
Résultat | IChannelUnsafe |
public WriteAndFlushAsync ( object message ) : System.Threading.Tasks.Task | ||
message | object | |
Résultat | System.Threading.Tasks.Task |
public WriteAsync ( object message ) : System.Threading.Tasks.Task | ||
message | object | |
Résultat | System.Threading.Tasks.Task |