Package jade.core

Class SliceProxy

    • Constructor Detail

      • SliceProxy

        public SliceProxy()
      • SliceProxy

        public SliceProxy​(Service svc,
                          Node n)
    • Method Detail

      • setNode

        public void setNode​(Node n)
      • serve

        public VerticalCommand serve​(HorizontalCommand cmd)
        Try to serve an incoming horizontal command, routing it to a remote slice implementation.
        Specified by:
        serve in interface Service.Slice
        Parameters:
        cmd - The command to serve, possibly through the network.
        Returns:
        A vertical command, that will be processed by the incoming filter chain of the receiving node. If null is returned, no filter/sink processing will happen. This feature can be used to decouple incoming horizontal interaction patterns from vertical incoming commands (e.g. no incoming vertical command is generated until a required set of horizontal commands has been received).