Sea 0.4.0

gov.lbl.dsd.sea.nio.event
Class ChannelRequest.WriteData

java.lang.Object
  extended bygov.lbl.dsd.sea.event.CallbackEvent
      extended bygov.lbl.dsd.sea.event.GenericCallbackEvent
          extended bygov.lbl.dsd.sea.nio.event.ChannelRequest.WriteData
Enclosing class:
ChannelRequest

public static class ChannelRequest.WriteData
extends GenericCallbackEvent

Requests an agent to completely write ALL of the bytes in the given buffer to the given channel; As usual with NIO, the data is contained between indexes buffer.position() and buffer.limit(), and buffer.remaining() bytes will be written;


Constructor Summary
ChannelRequest.WriteData(SelectableChannel channel, ByteBuffer buffer)
           
 
Method Summary
 ByteBuffer getBuffer()
           
 SelectableChannel getChannel()
           
 
Methods inherited from class gov.lbl.dsd.sea.event.GenericCallbackEvent
getInfo, getMessage, toString
 
Methods inherited from class gov.lbl.dsd.sea.event.CallbackEvent
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelRequest.WriteData

public ChannelRequest.WriteData(SelectableChannel channel,
                                ByteBuffer buffer)
Method Detail

getChannel

public SelectableChannel getChannel()

getBuffer

public ByteBuffer getBuffer()

Sea 0.4.0