|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsds.DistributedObject
sds.DistributedClientObject
public abstract class DistributedClientObject
Defines client-oriented distributed objects. These objects are only able to deliver messages (and cannot receive messages)
DistributedServerObject
Constructor Summary | |
---|---|
DistributedClientObject()
Creates a client-oriented distributed object able to deliver messages to server-oriented distributed objects |
Method Summary | |
---|---|
void |
run(int port,
boolean daemon)
This operation must not be used as it raises a ProcessException
|
boolean |
runsAsServer()
Checks if this distributed object can receive message |
Methods inherited from class sds.DistributedObject |
---|
createReference, deliver, deliver, getExpectedResponseInfo, getManager, getReference, run, setDefaultReference, setManager, setReference, terminate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedClientObject()
Creates a client-oriented distributed object able to deliver messages to server-oriented distributed objects
Method Detail |
---|
public final boolean runsAsServer()
Checks if this distributed object can receive message
runsAsServer
in class DistributedObject
public final void run(int port, boolean daemon) throws SdsException
This operation must not be used as it raises a
ProcessException
run
in class DistributedObject
port
- any valuedaemon
- any boolean value
SdsException
- always raised as this object is not a server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |