程序包 | 说明 |
---|---|
org.jboss.netty.channel.group |
A channel registry which helps a user maintain the list of open
Channel s and perform bulk operations on them. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultChannelGroupFuture
The default
ChannelGroupFuture implementation. |
限定符和类型 | 方法和说明 |
---|---|
ChannelGroupFuture |
DefaultChannelGroupFuture.await() |
ChannelGroupFuture |
ChannelGroupFuture.await()
Waits for this future to be completed.
|
ChannelGroupFuture |
DefaultChannelGroupFuture.awaitUninterruptibly() |
ChannelGroupFuture |
ChannelGroupFuture.awaitUninterruptibly()
Waits for this future to be completed without
interruption.
|
ChannelGroupFuture |
DefaultChannelGroup.close() |
ChannelGroupFuture |
ChannelGroup.close()
Closes all
Channel s in this group. |
ChannelGroupFuture |
DefaultChannelGroup.disconnect() |
ChannelGroupFuture |
ChannelGroup.disconnect()
Disconnects all
Channel s in this group from their remote peers. |
ChannelGroupFuture |
DefaultChannelGroup.setInterestOps(int interestOps) |
ChannelGroupFuture |
ChannelGroup.setInterestOps(int interestOps)
|
ChannelGroupFuture |
DefaultChannelGroup.setReadable(boolean readable) |
ChannelGroupFuture |
ChannelGroup.setReadable(boolean readable)
Calls
Channel.setReadable(boolean) for all Channel s in
this group with the specified boolean flag. |
ChannelGroupFuture |
DefaultChannelGroup.unbind() |
ChannelGroupFuture |
ChannelGroup.unbind()
Unbinds all
Channel s in this group from their local address. |
ChannelGroupFuture |
DefaultChannelGroup.write(java.lang.Object message) |
ChannelGroupFuture |
ChannelGroup.write(java.lang.Object message)
Writes the specified
message to all Channel s in this
group. |
ChannelGroupFuture |
DefaultChannelGroup.write(java.lang.Object message,
java.net.SocketAddress remoteAddress) |
ChannelGroupFuture |
ChannelGroup.write(java.lang.Object message,
java.net.SocketAddress remoteAddress)
|
限定符和类型 | 方法和说明 |
---|---|
void |
ChannelGroupFutureListener.operationComplete(ChannelGroupFuture future)
Invoked when all I/O operations associated with the
ChannelGroupFuture have been completed. |