Class ClientServerChannel

  • All Implemented Interfaces:
    DataChannel

    public class ClientServerChannel
    extends Object
    implements DataChannel
    A DataChannel that provides a server-side end of the bridge between client and server objects in a Remote Object Persistence stack.
    Since:
    1.2
    • Field Detail

    • Constructor Detail

      • ClientServerChannel

        public ClientServerChannel​(DataContext serverContext)
        Creates a ClientServerChannel that wraps a specified DataContext.
        Since:
        3.0
    • Method Detail

      • onQuery

        public QueryResponse onQuery​(ObjectContext context,
                                     Query query)
        Description copied from interface: DataChannel
        Executes a query, using provided context to register persistent objects if query returns any objects.
        Specified by:
        onQuery in interface DataChannel
        Parameters:
        context - an ObjectContext that originated the query, used to register result objects.
        Returns:
        a generic response object that encapsulates result of the execution.
      • getParentChannel

        public DataChannel getParentChannel()
        Since:
        3.1
      • getEventManager

        public EventManager getEventManager()
        Description copied from interface: DataChannel
        Returns an EventManager associated with this channel. Channel may return null if EventManager is not available for any reason.
        Specified by:
        getEventManager in interface DataChannel