Package org.eclipse.ecf.provider.generic
Class SOConnector
- java.lang.Object
- 
- org.eclipse.ecf.provider.generic.SOConnector
 
- 
- All Implemented Interfaces:
- ISharedObjectConnector
 
 public class SOConnector extends Object implements ISharedObjectConnector 
- 
- 
Constructor SummaryConstructors Constructor Description SOConnector(ID sender, ID[] recv, IQueueEnqueue[] queues)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Dispose of this ISharedObjectConnectorvoidenqueue(ISharedObjectEvent event)Enqueue an ISharedObjectEvent to all the receivers for connectorvoidenqueue(ISharedObjectEvent[] events)Enqueue a set of ISharedObjectEvents to all the receivers for connectorprotected voidfireEvent(ISharedObjectEvent event)protected voidfireEvents(ISharedObjectEvent[] event)ID[]getReceiverIDs()Get receiver IDs for connectorIDgetSenderID()Get sender ID for connector
 
- 
- 
- 
Constructor Detail- 
SOConnectorpublic SOConnector(ID sender, ID[] recv, IQueueEnqueue[] queues) 
 
- 
 - 
Method Detail- 
fireEventprotected void fireEvent(ISharedObjectEvent event) throws QueueException - Throws:
- QueueException
 
 - 
fireEventsprotected void fireEvents(ISharedObjectEvent[] event) throws QueueException - Throws:
- QueueException
 
 - 
getSenderIDpublic ID getSenderID() Description copied from interface:ISharedObjectConnectorGet sender ID for connector- Specified by:
- getSenderIDin interface- ISharedObjectConnector
- Returns:
- ID of shared object that is sender for this connection. Will not return null
 
 - 
getReceiverIDspublic ID[] getReceiverIDs() Description copied from interface:ISharedObjectConnectorGet receiver IDs for connector- Specified by:
- getReceiverIDsin interface- ISharedObjectConnector
- Returns:
- ID[] of the shared objects that are the receivers for this connection. Will not return null, but may return empty ID[]
 
 - 
enqueuepublic void enqueue(ISharedObjectEvent event) throws QueueException Description copied from interface:ISharedObjectConnectorEnqueue an ISharedObjectEvent to all the receivers for connector- Specified by:
- enqueuein interface- ISharedObjectConnector
- Parameters:
- event- to enqueue. Must not be null.
- Throws:
- QueueException- thrown if some problem enqueing to any receivers
 
 - 
enqueuepublic void enqueue(ISharedObjectEvent[] events) throws QueueException Description copied from interface:ISharedObjectConnectorEnqueue a set of ISharedObjectEvents to all the receivers for connector- Specified by:
- enqueuein interface- ISharedObjectConnector
- Parameters:
- events- [] of events to enqueue. Must not be null.
- Throws:
- QueueException- thrown if some problem enqueing to any receivers
 
 - 
disposepublic void dispose() Description copied from interface:ISharedObjectConnectorDispose of this ISharedObjectConnector- Specified by:
- disposein interface- ISharedObjectConnector
 
 
- 
 
-