edu.washington.biostr.sig.brainj3d.remoteutil
Class CSDispatcher
java.lang.Object
edu.washington.biostr.sig.brainj3d.remoteutil.CSDispatcher
- All Implemented Interfaces:
- SerializationObserver
- Direct Known Subclasses:
- ClientToServer, ServerToClient
public abstract class CSDispatcher
- extends Object
- implements SerializationObserver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSDispatcher
public CSDispatcher(Executor dispatch)
dispatch
public abstract void dispatch(Event[] event)
sendEvent
public void sendEvent(Event event)
processEvent
public void processEvent(Event... events)
addUnserializedId
public void addUnserializedId(IdObject... objects)
- Add an object that has not been serialized.
- Parameters:
objects -
addId
public void addId(IdObject... objects)
- Add an object that has alread been serialized.
- Parameters:
objects -
get
public IdObject get(Long id)
wasWritten
public void wasWritten(IdObject obj)
- Specified by:
wasWritten in interface SerializationObserver
- Parameters:
obj - The object that was written (marshalled).
wasRead
public void wasRead(IdObject obj)
- Specified by:
wasRead in interface SerializationObserver
- Parameters:
obj - The object that was read (unmarshalled).
Copyright © 2006 University of Washington. All Rights Reserved.