XNIO API 2.0.0.GA

Uses of Interface
org.jboss.xnio.channels.SuspendableWriteChannel

Packages that use SuspendableWriteChannel
org.jboss.xnio.channels Defines an enhanced set of channels. 
 

Uses of SuspendableWriteChannel in org.jboss.xnio.channels
 

Subinterfaces of SuspendableWriteChannel in org.jboss.xnio.channels
 interface ConnectedStreamChannel<A>
          A stream channel that is a connection between a local and remote endpoint.
 interface DatagramChannel<A>
          A channel that sends and receives datagrams.
 interface LocalChannel
          A connected local IPC channel.
 interface MessageChannel
          A channel that sends and receives whole messages.
 interface MultipointDatagramChannel<A>
          A multipoint datagram channel.
 interface MultipointMessageChannel<A>
          A point-to-multipoint message channel.
 interface MultipointWritableMessageChannel<A>
          The writable side of a multipoint message channel.
 interface SslTcpChannel
          A TLS-encapsulated TCP channel.
 interface StreamChannel
          A stream channel.
 interface StreamSinkChannel
          A stream sink channel.
 interface SuspendableChannel
          A suspendable bidirectional channel.
 interface TcpChannel
          A TCP channel.
 interface UdpChannel
          A UDP channel.
 interface WritableMessageChannel
          A channel that can send messages.
 

Methods in org.jboss.xnio.channels with type parameters of type SuspendableWriteChannel
static
<C extends WritableMessageChannel & SuspendableWriteChannel>
void
Channels.sendBlocking(C channel, java.nio.ByteBuffer buffer)
          Simple utility method to execute a blocking send on a message channel.
static
<C extends WritableMessageChannel & SuspendableWriteChannel>
void
Channels.sendBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len)
          Simple utility method to execute a blocking gathering send on a message channel.
static
<C extends WritableMessageChannel & SuspendableWriteChannel>
boolean
Channels.sendBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len, long time, java.util.concurrent.TimeUnit unit)
          Simple utility method to execute a blocking gathering send on a message channel with a timeout.
static
<C extends WritableMessageChannel & SuspendableWriteChannel>
boolean
Channels.sendBlocking(C channel, java.nio.ByteBuffer buffer, long time, java.util.concurrent.TimeUnit unit)
          Simple utility method to execute a blocking send on a message channel with a timeout.
static
<C extends java.nio.channels.WritableByteChannel & SuspendableWriteChannel>
int
Channels.writeBlocking(C channel, java.nio.ByteBuffer buffer)
          Simple utility method to execute a blocking write on a byte channel.
static
<C extends java.nio.channels.GatheringByteChannel & SuspendableWriteChannel>
long
Channels.writeBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len)
          Simple utility method to execute a blocking write on a gathering byte channel.
static
<C extends java.nio.channels.GatheringByteChannel & SuspendableWriteChannel>
long
Channels.writeBlocking(C channel, java.nio.ByteBuffer[] buffers, int offs, int len, long time, java.util.concurrent.TimeUnit unit)
          Simple utility method to execute a blocking write on a gathering byte channel with a timeout.
static
<C extends java.nio.channels.WritableByteChannel & SuspendableWriteChannel>
int
Channels.writeBlocking(C channel, java.nio.ByteBuffer buffer, long time, java.util.concurrent.TimeUnit unit)
          Simple utility method to execute a blocking write on a byte channel with a timeout.
 

Methods in org.jboss.xnio.channels that return types with arguments of type SuspendableWriteChannel
 ChannelListener.Setter<? extends SuspendableWriteChannel> SuspendableWriteChannel.getCloseSetter()
          Get the setter which can be used to change the close handler for this channel.
 ChannelListener.Setter<? extends SuspendableWriteChannel> SuspendableWriteChannel.getWriteSetter()
          Get the setter which can be used to change the write handler for this channel.
 

Methods in org.jboss.xnio.channels with parameters of type SuspendableWriteChannel
static void Channels.flushBlocking(SuspendableWriteChannel channel)
          Simple utility method to execute a blocking flush on a writable channel.
static void Channels.shutdownWritesBlocking(SuspendableWriteChannel channel)
          Simple utility method to execute a blocking write shutdown on a writable channel.
 


XNIO API 2.0.0.GA

Copyright © 2009 JBoss, a division of Red Hat, Inc.