|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Slice
nested interface represents that part of
a service that is deployed at a given network node.
Method Summary | |
Node |
getNode()
Access the node where this slice resides. |
Service |
getService()
Access the service object which this slice is a part of. |
VerticalCommand |
serve(HorizontalCommand cmd)
Serves an incoming horizontal command, performing any required immediate processing, before turning it into a vertical command to be processed by the incoming filter chain. |
Method Detail |
public Service getService()
Service
object, that has
this
as one of its slices.Service.getSlice(String name)
public Node getNode() throws ServiceException
ServiceException
- If some problems occur in
retrieving the local node.public VerticalCommand serve(HorizontalCommand cmd)
cmd
- The command that is to be served.
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).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |