|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.core.SliceProxy
public class SliceProxy
An implementation of the Service.Slice interface,
supporting routed dispatching of horizontal commands.
| Constructor Summary | |
|---|---|
SliceProxy()
|
|
SliceProxy(Service svc,
Node n)
|
|
| 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)
Try to serve an incoming horizontal command, routing it to a remote slice implementation. |
void |
setNode(Node n)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SliceProxy()
public SliceProxy(Service svc,
Node n)
| Method Detail |
|---|
public Service getService()
Service.Slice
getService in interface Service.SliceService object, that has
this as one of its slices.Service.getSlice(String name)
public Node getNode()
throws ServiceException
Service.Slice
getNode in interface Service.SliceServiceException - If some problems occur in
retrieving the local node.public void setNode(Node n)
public VerticalCommand serve(HorizontalCommand cmd)
serve in interface Service.Slicecmd - The command to serve, possibly through the network.
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 | |||||||||