public class RMISource extends java.rmi.server.UnicastRemoteObject implements RMIAdapterIn, Source
Constructor and Description |
---|
RMISource() |
RMISource(java.lang.String name) |
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(java.lang.String name) |
void |
clearAttributeSinks()
Remove all listener attribute sinks.
|
void |
clearElementSinks()
Remove all listener element sinks.
|
void |
clearSinks()
Remove all listener sinks.
|
void |
edgeAdded(java.lang.String graphId,
long timeId,
java.lang.String edgeId,
java.lang.String fromNodeId,
java.lang.String toNodeId,
boolean directed) |
void |
edgeAttributeAdded(java.lang.String graphId,
long timeId,
java.lang.String edgeId,
java.lang.String attribute,
java.lang.Object value) |
void |
edgeAttributeChanged(java.lang.String graphId,
long timeId,
java.lang.String edgeId,
java.lang.String attribute,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
edgeAttributeRemoved(java.lang.String graphId,
long timeId,
java.lang.String edgeId,
java.lang.String attribute) |
void |
edgeRemoved(java.lang.String graphId,
long timeId,
java.lang.String edgeId) |
void |
graphAttributeAdded(java.lang.String graphId,
long timeId,
java.lang.String attribute,
java.lang.Object value) |
void |
graphAttributeChanged(java.lang.String graphId,
long timeId,
java.lang.String attribute,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
graphAttributeRemoved(java.lang.String graphId,
long timeId,
java.lang.String attribute) |
void |
graphCleared(java.lang.String graphId,
long timeId) |
void |
nodeAdded(java.lang.String graphId,
long timeId,
java.lang.String nodeId) |
void |
nodeAttributeAdded(java.lang.String graphId,
long timeId,
java.lang.String nodeId,
java.lang.String attribute,
java.lang.Object value) |
void |
nodeAttributeChanged(java.lang.String graphId,
long timeId,
java.lang.String nodeId,
java.lang.String attribute,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
nodeAttributeRemoved(java.lang.String graphId,
long timeId,
java.lang.String nodeId,
java.lang.String attribute) |
void |
nodeRemoved(java.lang.String graphId,
long timeId,
java.lang.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(java.lang.String graphId,
long timeId,
double step) |
clone, exportObject, exportObject, exportObject, unexportObject
public RMISource() throws java.rmi.RemoteException
java.rmi.RemoteException
public RMISource(java.lang.String name) throws java.rmi.RemoteException
java.rmi.RemoteException
public void bind(java.lang.String name)
public void edgeAdded(java.lang.String graphId, long timeId, java.lang.String edgeId, java.lang.String fromNodeId, java.lang.String toNodeId, boolean directed) throws java.rmi.RemoteException
edgeAdded
in interface RMIAdapterIn
java.rmi.RemoteException
public void edgeAttributeAdded(java.lang.String graphId, long timeId, java.lang.String edgeId, java.lang.String attribute, java.lang.Object value) throws java.rmi.RemoteException
edgeAttributeAdded
in interface RMIAdapterIn
java.rmi.RemoteException
public void edgeAttributeChanged(java.lang.String graphId, long timeId, java.lang.String edgeId, java.lang.String attribute, java.lang.Object oldValue, java.lang.Object newValue) throws java.rmi.RemoteException
edgeAttributeChanged
in interface RMIAdapterIn
java.rmi.RemoteException
public void edgeAttributeRemoved(java.lang.String graphId, long timeId, java.lang.String edgeId, java.lang.String attribute) throws java.rmi.RemoteException
edgeAttributeRemoved
in interface RMIAdapterIn
java.rmi.RemoteException
public void edgeRemoved(java.lang.String graphId, long timeId, java.lang.String edgeId) throws java.rmi.RemoteException
edgeRemoved
in interface RMIAdapterIn
java.rmi.RemoteException
public void graphAttributeAdded(java.lang.String graphId, long timeId, java.lang.String attribute, java.lang.Object value) throws java.rmi.RemoteException
graphAttributeAdded
in interface RMIAdapterIn
java.rmi.RemoteException
public void graphAttributeChanged(java.lang.String graphId, long timeId, java.lang.String attribute, java.lang.Object oldValue, java.lang.Object newValue) throws java.rmi.RemoteException
graphAttributeChanged
in interface RMIAdapterIn
java.rmi.RemoteException
public void graphAttributeRemoved(java.lang.String graphId, long timeId, java.lang.String attribute) throws java.rmi.RemoteException
graphAttributeRemoved
in interface RMIAdapterIn
java.rmi.RemoteException
public void graphCleared(java.lang.String graphId, long timeId) throws java.rmi.RemoteException
graphCleared
in interface RMIAdapterIn
java.rmi.RemoteException
public void nodeAdded(java.lang.String graphId, long timeId, java.lang.String nodeId) throws java.rmi.RemoteException
nodeAdded
in interface RMIAdapterIn
java.rmi.RemoteException
public void nodeAttributeAdded(java.lang.String graphId, long timeId, java.lang.String nodeId, java.lang.String attribute, java.lang.Object value) throws java.rmi.RemoteException
nodeAttributeAdded
in interface RMIAdapterIn
java.rmi.RemoteException
public void nodeAttributeChanged(java.lang.String graphId, long timeId, java.lang.String nodeId, java.lang.String attribute, java.lang.Object oldValue, java.lang.Object newValue) throws java.rmi.RemoteException
nodeAttributeChanged
in interface RMIAdapterIn
java.rmi.RemoteException
public void nodeAttributeRemoved(java.lang.String graphId, long timeId, java.lang.String nodeId, java.lang.String attribute) throws java.rmi.RemoteException
nodeAttributeRemoved
in interface RMIAdapterIn
java.rmi.RemoteException
public void nodeRemoved(java.lang.String graphId, long timeId, java.lang.String nodeId) throws java.rmi.RemoteException
nodeRemoved
in interface RMIAdapterIn
java.rmi.RemoteException
public void stepBegins(java.lang.String graphId, long timeId, double step) throws java.rmi.RemoteException
stepBegins
in interface RMIAdapterIn
java.rmi.RemoteException
public void addAttributeSink(AttributeSink listener)
Source
addAttributeSink
in interface Source
listener
- The sink to register.public void addElementSink(ElementSink listener)
Source
addElementSink
in interface Source
listener
- The sink to register.public void addSink(Sink listener)
Source
public void removeAttributeSink(AttributeSink listener)
Source
removeAttributeSink
in interface Source
listener
- The sink to remove, if it does not exist, this is ignored
silently.public void removeElementSink(ElementSink listener)
Source
removeElementSink
in interface Source
listener
- The sink to remove, if it does not exist, this is ignored
silently.public void removeSink(Sink listener)
Source
removeSink
in interface Source
listener
- The sink to remove, if it does not exist, this is ignored
silently.public void clearAttributeSinks()
Source
clearAttributeSinks
in interface Source
public void clearElementSinks()
Source
clearElementSinks
in interface Source
public void clearSinks()
Source
clearSinks
in interface Source