XNIO API 2.0.2.GA

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

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

Uses of WritableMessageChannel in org.jboss.xnio.channels
 

Subinterfaces of WritableMessageChannel in org.jboss.xnio.channels
 interface DatagramChannel<A>
          A channel that sends and receives datagrams.
 interface MessageChannel
          A channel that sends and receives whole messages.
 

Methods in org.jboss.xnio.channels with type parameters of type WritableMessageChannel
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.
 

Methods in org.jboss.xnio.channels that return WritableMessageChannel
static WritableMessageChannel Channels.createMessageWriter(StreamSinkChannel channel, OptionMap optionMap)
          Create a writable message channel which wraps a stream sink channel using a simple length-body protocol.
 

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


XNIO API 2.0.2.GA

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