Class ComChannelDynamic<C>

java.lang.Object
org.eclipse.serializer.communication.binarydynamic.ComChannelDynamic<C>
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.serializer.communication.types.ComChannel
Direct Known Subclasses:
ComClientChannelDynamic, ComHostChannelDynamic

public abstract class ComChannelDynamic<C> extends Object implements org.eclipse.serializer.communication.types.ComChannel
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.serializer.communication.types.ComChannel

    org.eclipse.serializer.communication.types.ComChannel.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final C
     
    protected final ComHandlerRegistry
     
    protected final org.eclipse.serializer.persistence.types.PersistenceManager<?>
    /////////////////
    protected final org.eclipse.serializer.communication.types.ComProtocol
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ComChannelDynamic(org.eclipse.serializer.persistence.types.PersistenceManager<?> persistenceManager, C connection, org.eclipse.serializer.communication.types.ComProtocol protocol)
    //////////////
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    final Object
     
    /////////
    final void
    send(Object graphRoot)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.serializer.communication.types.ComChannel

    request
  • Field Details

    • persistenceManager

      protected final org.eclipse.serializer.persistence.types.PersistenceManager<?> persistenceManager
      /////////////////
    • connection

      protected final C connection
    • protocol

      protected final org.eclipse.serializer.communication.types.ComProtocol protocol
    • handlers

      protected final ComHandlerRegistry handlers
  • Constructor Details

    • ComChannelDynamic

      public ComChannelDynamic(org.eclipse.serializer.persistence.types.PersistenceManager<?> persistenceManager, C connection, org.eclipse.serializer.communication.types.ComProtocol protocol)
      //////////////
  • Method Details

    • requestUnhandled

      public Object requestUnhandled(Object object)
      /////////
    • send

      public final void send(Object graphRoot)
      Specified by:
      send in interface org.eclipse.serializer.communication.types.ComChannel
    • receive

      public final Object receive()
      Specified by:
      receive in interface org.eclipse.serializer.communication.types.ComChannel
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.eclipse.serializer.communication.types.ComChannel