neosim.iface
Class Event
java.lang.Object
|
+--neosim.iface.Event
- Direct Known Subclasses:
- SpikeEvent
- public class Event
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
A basic event just has a time stamp and a class id.
Derived types of event can include extra data and methods.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
cid
protected ClassID cid
c
protected Connection c
iType
protected int iType
Event
public Event(Time t)
Event
public Event(Time t,
EntityID srce,
PortID srcport)
Event
public Event(Time t,
EntityID srce,
PortID srcport,
int iType)
setSrcEntityID
public void setSrcEntityID(EntityID srce)
setSrcPortID
public void setSrcPortID(PortID srcport)
getTime
public Time getTime()
setTime
public void setTime(Time t)
getType
public int getType()
getClassID
public ClassID getClassID()
getNeosimClass
public NeosimClass getNeosimClass()
getEventClass
public EventClass getEventClass()
getSrcEntityID
public EntityID getSrcEntityID()
getSrcEntityPortID
public PortID getSrcEntityPortID()
getConnection
public Connection getConnection()
setConnection
public void setConnection(Connection c)
isEntityEvent
public boolean isEntityEvent()
isSystemEvent
public boolean isSystemEvent()
registerClass
public ClassID registerClass(NeosimClasses nc)
clone
public java.lang.Object clone()
- Overrides:
- clone in class java.lang.Object