public interface Component
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
void |
addMessageListener(MessageListener writer)
Adds a message listener to which (non-error) status information is send.
|
java.lang.String |
getName()
Returns a name of the component meant for human interpretation.
|
PositionInformation |
getPositionInformation()
Returns the component's position information, e.g.
|
java.util.UUID |
getUUID()
Returns a unique ID of the component.
|
void |
removeMessageListener(MessageListener writer)
Removes a previously added listener.
|
void |
setName(java.lang.String name)
Sets the name of the component meant for human interpretation.
|
void addMessageListener(MessageListener writer) throws java.rmi.RemoteException
writer
- Listener to which output should be written.java.rmi.RemoteException
void removeMessageListener(MessageListener writer) throws java.rmi.RemoteException
writer
- Listener which should be removed.java.rmi.RemoteException
PositionInformation getPositionInformation() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
void setName(java.lang.String name) throws java.rmi.RemoteException
name
- Name/short description of the component.java.rmi.RemoteException
java.util.UUID getUUID() throws java.rmi.RemoteException
UUID.equals(Object)
and UUID.randomUUID()
.java.rmi.RemoteException