public class RMISource extends UnicastRemoteObject implements RMIAdapterIn, Source
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeSink(AttributeSink listener)
Add a sink for attribute events only.
|
void |
addElementSink(ElementSink listener)
Add a sink for elements events only.
|
void |
addSink(Sink listener)
Add a sink for all graph events (attributes and graph elements) coming
from this source.
|
void |
bind(String name) |
void |
clearAttributeSinks()
Remove all listener attribute sinks.
|
void |
clearElementSinks()
Remove all listener element sinks.
|
void |
clearSinks()
Remove all listener sinks.
|
void |
edgeAdded(String graphId,
long timeId,
String edgeId,
String fromNodeId,
String toNodeId,
boolean directed) |
void |
edgeAttributeAdded(String graphId,
long timeId,
String edgeId,
String attribute,
Object value) |
void |
edgeAttributeChanged(String graphId,
long timeId,
String edgeId,
String attribute,
Object oldValue,
Object newValue) |
void |
edgeAttributeRemoved(String graphId,
long timeId,
String edgeId,
String attribute) |
void |
edgeRemoved(String graphId,
long timeId,
String edgeId) |
void |
graphAttributeAdded(String graphId,
long timeId,
String attribute,
Object value) |
void |
graphAttributeChanged(String graphId,
long timeId,
String attribute,
Object oldValue,
Object newValue) |
void |
graphAttributeRemoved(String graphId,
long timeId,
String attribute) |
void |
graphCleared(String graphId,
long timeId) |
void |
nodeAdded(String graphId,
long timeId,
String nodeId) |
void |
nodeAttributeAdded(String graphId,
long timeId,
String nodeId,
String attribute,
Object value) |
void |
nodeAttributeChanged(String graphId,
long timeId,
String nodeId,
String attribute,
Object oldValue,
Object newValue) |
void |
nodeAttributeRemoved(String graphId,
long timeId,
String nodeId,
String attribute) |
void |
nodeRemoved(String graphId,
long timeId,
String nodeId) |
void |
removeAttributeSink(AttributeSink listener)
Remove an attribute sink.
|
void |
removeElementSink(ElementSink listener)
Remove an element sink.
|
void |
removeSink(Sink listener)
Remove a sink.
|
void |
stepBegins(String graphId,
long timeId,
double step) |
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic RMISource()
throws RemoteException
RemoteExceptionpublic RMISource(String name) throws RemoteException
RemoteExceptionpublic void bind(String name)
public void edgeAdded(String graphId, long timeId, String edgeId, String fromNodeId, String toNodeId, boolean directed) throws RemoteException
edgeAdded in interface RMIAdapterInRemoteExceptionpublic void edgeAttributeAdded(String graphId, long timeId, String edgeId, String attribute, Object value) throws RemoteException
edgeAttributeAdded in interface RMIAdapterInRemoteExceptionpublic void edgeAttributeChanged(String graphId, long timeId, String edgeId, String attribute, Object oldValue, Object newValue) throws RemoteException
edgeAttributeChanged in interface RMIAdapterInRemoteExceptionpublic void edgeAttributeRemoved(String graphId, long timeId, String edgeId, String attribute) throws RemoteException
edgeAttributeRemoved in interface RMIAdapterInRemoteExceptionpublic void edgeRemoved(String graphId, long timeId, String edgeId) throws RemoteException
edgeRemoved in interface RMIAdapterInRemoteExceptionpublic void graphAttributeAdded(String graphId, long timeId, String attribute, Object value) throws RemoteException
graphAttributeAdded in interface RMIAdapterInRemoteExceptionpublic void graphAttributeChanged(String graphId, long timeId, String attribute, Object oldValue, Object newValue) throws RemoteException
graphAttributeChanged in interface RMIAdapterInRemoteExceptionpublic void graphAttributeRemoved(String graphId, long timeId, String attribute) throws RemoteException
graphAttributeRemoved in interface RMIAdapterInRemoteExceptionpublic void graphCleared(String graphId, long timeId) throws RemoteException
graphCleared in interface RMIAdapterInRemoteExceptionpublic void nodeAdded(String graphId, long timeId, String nodeId) throws RemoteException
nodeAdded in interface RMIAdapterInRemoteExceptionpublic void nodeAttributeAdded(String graphId, long timeId, String nodeId, String attribute, Object value) throws RemoteException
nodeAttributeAdded in interface RMIAdapterInRemoteExceptionpublic void nodeAttributeChanged(String graphId, long timeId, String nodeId, String attribute, Object oldValue, Object newValue) throws RemoteException
nodeAttributeChanged in interface RMIAdapterInRemoteExceptionpublic void nodeAttributeRemoved(String graphId, long timeId, String nodeId, String attribute) throws RemoteException
nodeAttributeRemoved in interface RMIAdapterInRemoteExceptionpublic void nodeRemoved(String graphId, long timeId, String nodeId) throws RemoteException
nodeRemoved in interface RMIAdapterInRemoteExceptionpublic void stepBegins(String graphId, long timeId, double step) throws RemoteException
stepBegins in interface RMIAdapterInRemoteExceptionpublic void addAttributeSink(AttributeSink listener)
SourceaddAttributeSink in interface Sourcelistener - The sink to register.public void addElementSink(ElementSink listener)
SourceaddElementSink in interface Sourcelistener - The sink to register.public void addSink(Sink listener)
Sourcepublic void removeAttributeSink(AttributeSink listener)
SourceremoveAttributeSink in interface Sourcelistener - The sink to remove, if it does not exist, this is ignored
silently.public void removeElementSink(ElementSink listener)
SourceremoveElementSink in interface Sourcelistener - The sink to remove, if it does not exist, this is ignored
silently.public void removeSink(Sink listener)
SourceremoveSink in interface Sourcelistener - The sink to remove, if it does not exist, this is ignored
silently.public void clearAttributeSinks()
SourceclearAttributeSinks in interface Sourcepublic void clearElementSinks()
SourceclearElementSinks in interface Sourcepublic void clearSinks()
SourceclearSinks in interface SourceCopyright © 2015. All rights reserved.