neosim.implementation
Class ConnectionRequestImpl
java.lang.Object
|
+--neosim.implementation.ConnectionRequestImpl
- public class ConnectionRequestImpl
- extends java.lang.Object
- implements ConnectionRequest
A connection request is the message which a source entity sends to a dest entity
it wants to connect to. By default it contains the source entity
ID and port no, as well as the DestMethod.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ConnectionRequestImpl
public ConnectionRequestImpl(EntityID srce,
PortID srcp,
DestMethod dm)
getSrcEntityID
public EntityID getSrcEntityID()
- Return the entity originating this request
- Specified by:
- getSrcEntityID in interface ConnectionRequest
getSrcPortID
public PortID getSrcPortID()
- Return the output port of the entity to connect from
- Specified by:
- getSrcPortID in interface ConnectionRequest
getDestMethod
public DestMethod getDestMethod()
- Return the method to run at the dest entity
- Specified by:
- getDestMethod in interface ConnectionRequest