|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.ClientLeaseWrapper.FailureFactory
private class ClientLeaseWrapper.FailureFactory
Nested top-level implementation of EventFactory
that
generates RenewalFailureEvent
events
Field Summary | |
---|---|
private MarshalledInstance |
marshalledLease
Client lease that could not be renewed in marshalled form |
private MarshalledInstance |
marshalledThrowable
Throwable (if any) that was thrown when we tried to renew the lease in marshalled form |
private LeaseRenewalSet |
source
Source for event |
Constructor Summary | |
---|---|
private |
ClientLeaseWrapper.FailureFactory(LeaseRenewalSet source,
MarshalledInstance marshalledLease,
MarshalledInstance marshalledThrowable)
Simple constructor |
Method Summary | |
---|---|
RemoteEvent |
createEvent(long eventID,
long seqNum,
MarshalledObject handback)
Create the concrete RemoteEvent for the associated
event occurrence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private LeaseRenewalSet source
private final MarshalledInstance marshalledLease
private final MarshalledInstance marshalledThrowable
Constructor Detail |
---|
private ClientLeaseWrapper.FailureFactory(LeaseRenewalSet source, MarshalledInstance marshalledLease, MarshalledInstance marshalledThrowable)
source
- event sourcemarshalledLease
- client lease that could not be renewed
in marshalled formmarshalledThrowable
- exception (if any) that was thrown when
the lease could not be renewedMethod Detail |
---|
public RemoteEvent createEvent(long eventID, long seqNum, MarshalledObject handback)
EventFactory
RemoteEvent
for the associated
event occurrence. Implementations should allow for the
possibility of being called with the same argument more that
once, especially the same eventID and seqNum. The factory
should not mutate the event after it returns it.
The caller will own no locks when calling this method.
createEvent
in interface EventFactory
eventID
- the event ID the new event should haveseqNum
- the sequence number the new event object should havehandback
- the handback the new event object should have
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |