|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.mercury.RemoteEventData
class RemoteEventData
Simple struct to hold a RemoteEvent
and its associated
Object
(cookie) obtained from an EventLog
.
Field Summary | |
---|---|
private Object |
cookie
Cookie associated with the RemoteEvent |
private boolean |
integrity
true if the last time this object was unmarshalled
integrity was being enforced, false otherwise. |
private MarshalledInstance |
mi
MarshalledObject that holds desired
RemoteEvent . |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
RemoteEventData(RemoteEvent re,
Object cookie)
Creates a new RemoteEventData instance. |
Method Summary | |
---|---|
Object |
getCookie()
|
RemoteEvent |
getRemoteEvent()
|
private void |
readObject(ObjectInputStream in)
Use readObject method to capture whether or
not integrity was being enforced when this object was
unmarshalled, and to perform basic integrity checks. |
private void |
readObjectNoData()
We should always have data in the stream, if this method gets called there is something wrong. |
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
private MarshalledInstance mi
MarshalledObject
that holds desired
RemoteEvent
. Wrapping the remote event
permits deserialization to occur on demand on the
client-side.
private final Object cookie
RemoteEvent
private transient boolean integrity
true
if the last time this object was unmarshalled
integrity was being enforced, false
otherwise.
Constructor Detail |
---|
RemoteEventData(RemoteEvent re, Object cookie)
re
- value of re
field.cookie
- value of cookie
field.Method Detail |
---|
public RemoteEvent getRemoteEvent() throws ClassNotFoundException
ClassNotFoundException
public Object getCookie()
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
method to capture whether or
not integrity was being enforced when this object was
unmarshalled, and to perform basic integrity checks.
IOException
ClassNotFoundException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |