Class ChannelRPCRequestImpl

    • Field Detail

      • argumentData

        protected org.epics.pvdata.pv.PVStructure argumentData
    • Constructor Detail

      • ChannelRPCRequestImpl

        protected ChannelRPCRequestImpl​(ChannelImpl channel,
                                        ChannelRPCRequester callback,
                                        org.epics.pvdata.pv.PVStructure pvRequest)
    • Method Detail

      • send

        public void send​(ByteBuffer buffer,
                         TransportSendControl control)
        Description copied from interface: TransportSender
        Called by transport. By this call transport gives callee ownership over the buffer. Calls on TransportSendControl instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.
        Specified by:
        send in interface TransportSender
        Overrides:
        send in class BaseRequestImpl
        Parameters:
        buffer - buffer to send.
        control - transport send control instance.
      • request

        public void request​(org.epics.pvdata.pv.PVStructure pvArgument)
        Description copied from interface: ChannelRPC
        Issue an RPC request to the channel. Completion status is reported by calling ChannelRPCRequester.requestDone() callback.
        Specified by:
        request in interface ChannelRPC
        Parameters:
        pvArgument - The argument structure for an RPC request.