Interface WriteOperation

All Known Implementing Classes:
FlushReadyWrite

public interface WriteOperation
This is a basic write operation that can be queued with a channel. The only requirements of a write operation is that is has a listener and a reference to its channel. The actual conversion of the write operation implementation to bytes will be performed by the NioChannelHandler.
  • Method Summary

    Modifier and Type Method Description
    SocketChannelContext getChannel()  
    java.util.function.BiConsumer<java.lang.Void,​java.lang.Exception> getListener()  
    java.lang.Object getObject()  
  • Method Details

    • getListener

      java.util.function.BiConsumer<java.lang.Void,​java.lang.Exception> getListener()
    • getChannel

      SocketChannelContext getChannel()
    • getObject

      java.lang.Object getObject()