Interface ISharedObjectConnector
- All Known Implementing Classes:
SOConnector
public interface ISharedObjectConnector
Implementers which represent the one-way associations between SharedObject
instances within the scope of a given ISharedObjectContainer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose of this ISharedObjectConnectorvoid
enqueue
(ISharedObjectEvent event) Enqueue an ISharedObjectEvent to all the receivers for connectorvoid
enqueue
(ISharedObjectEvent[] events) Enqueue a set of ISharedObjectEvents to all the receivers for connectorID[]
Get receiver IDs for connectorGet sender ID for connector
-
Method Details
-
getSenderID
ID getSenderID()Get sender ID for connector- Returns:
- ID of shared object that is sender for this connection. Will not return null
-
getReceiverIDs
ID[] getReceiverIDs()Get receiver IDs for connector- Returns:
- ID[] of the shared objects that are the receivers for this connection. Will not return null, but may return empty ID[]
-
dispose
void dispose()Dispose of this ISharedObjectConnector
-