Class AbstractChat<T>

java.lang.Object
com.gigaspaces.lrmi.nio.selector.handler.client.AbstractChat<T>
Direct Known Subclasses:
LRMIChat, WriteBytesChat

public abstract class AbstractChat<T> extends Object
Created by Barak Bar Orion 12/30/14.
  • Field Details

  • Constructor Details

    • AbstractChat

      public AbstractChat()
  • Method Details

    • init

      public abstract boolean init(Conversation conversation, SelectionKey key)
      Returns:
      true if done with this chat
    • process

      public abstract boolean process(SelectionKey key)
      Returns:
      true if done with this chat
    • result

      public abstract T result()
    • removeInterest

      protected void removeInterest(SelectionKey key, int op)
    • addInterest

      protected void addInterest(SelectionKey key, int op)
    • write

      public byte write(SelectionKey key, ByteBuffer msg)