Interface ObjectSocket

All Known Implementing Classes:
ObjectAsyncSocketConnection

public interface ObjectSocket
Created by moelrue on 5/7/15. capability to send objects
  • Method Details

    • writeObject

      void writeObject(Object toWrite) throws Exception
      Throws:
      Exception
    • flush

      void flush() throws Exception
      Throws:
      Exception
    • setLastError

      void setLastError(Throwable ex)
    • getLastError

      Throwable getLastError()
    • setConf

      void setConf(org.nustaq.serialization.FSTConfiguration conf)
      set by outer machinery
      Parameters:
      conf -
    • getConf

      org.nustaq.serialization.FSTConfiguration getConf()
    • close

      void close() throws IOException
      Throws:
      IOException
    • canWrite

      default boolean canWrite()
    • isClosed

      boolean isClosed()
    • getId

      int getId()
    • getConnectionIdentifier

      String getConnectionIdentifier()
      Returns:
      an id for this connection, currently set for http connections only (returns http session id)