|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.EventReg
private static final class RegistrarImpl.EventReg
An event registration record.
Field Summary | |
---|---|
long |
eventID
The event id. |
MarshalledObject |
handback
The handback object. |
long |
leaseExpiration
The lease expiration time. |
Uuid |
leaseID
The lease id. |
RemoteEventListener |
listener
The event listener. |
long |
seqNo
The current sequence number. |
private static long |
serialVersionUID
|
Template |
tmpl
The template to match. |
int |
transitions
The transitions. |
Constructor Summary | |
---|---|
RegistrarImpl.EventReg(long eventID,
Uuid leaseID,
Template tmpl,
int transitions,
RemoteEventListener listener,
MarshalledObject handback,
long leaseExpiration)
Simple constructor |
Method Summary | |
---|---|
int |
compareTo(Object obj)
Primary sort by leaseExpiration, secondary by eventID. |
void |
prepareListener(ProxyPreparer preparer)
Prepares listener (if non-null) using the given proxy preparer. |
private void |
readObject(ObjectInputStream stream)
Unmarshals the event listener. |
private void |
writeObject(ObjectOutputStream stream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public final long eventID
public final Uuid leaseID
public final Template tmpl
public final int transitions
public long seqNo
public transient RemoteEventListener listener
public final MarshalledObject handback
public long leaseExpiration
Constructor Detail |
---|
public RegistrarImpl.EventReg(long eventID, Uuid leaseID, Template tmpl, int transitions, RemoteEventListener listener, MarshalledObject handback, long leaseExpiration)
Method Detail |
---|
public int compareTo(Object obj)
compareTo
in interface Comparable
public void prepareListener(ProxyPreparer preparer)
private void writeObject(ObjectOutputStream stream) throws IOException
IOException
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |