com.sun.jini.norm
Class LeaseSet.WarningFactory
java.lang.Object
com.sun.jini.norm.LeaseSet.WarningFactory
- All Implemented Interfaces:
- EventFactory
- Enclosing class:
- LeaseSet
private class LeaseSet.WarningFactory
- extends Object
- implements EventFactory
Nested class that implements EventFactory
that
generates ExpirationWarningEvent
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
proxy
private final SetProxy proxy
- The source for the event
LeaseSet.WarningFactory
LeaseSet.WarningFactory(LeaseSet set)
- Create a new WarningFactory
- Parameters:
set
- The set generating this event
createEvent
public RemoteEvent createEvent(long eventID,
long seqNum,
MarshalledObject handback)
- Description copied from interface:
EventFactory
- Create the concrete
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.
- Specified by:
createEvent
in interface EventFactory
- Parameters:
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
- Returns:
- the new event object
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.