neosim.iface
Interface Connection
- All Known Implementing Classes:
- ConnectionSpec, ConnectionImpl
- public interface Connection
- extends java.io.Serializable
A connection links a source entity/port to a destination entity/port,
and has a delay. It is possible to check the connection details for events
arriving on a port to get the delay, and source entity/port.
ConnectionIDs are assigned when the addInConnection() method of the
destination entity is called.
getDstEntityID
public EntityID getDstEntityID()
getDstPortID
public PortID getDstPortID()
getDelay
public Time getDelay()
getSrcEntityID
public EntityID getSrcEntityID()
getSrcPortID
public PortID getSrcPortID()
getConnectionID
public ConnectionID getConnectionID()
setConnectionID
public void setConnectionID(ConnectionID c)
sendEvent
public void sendEvent(Event ev)