org.ceno.communication.cli.dispatch
Class EventCommunicatorService

java.lang.Object
  extended by org.ceno.communication.cli.dispatch.EventCommunicatorService
All Implemented Interfaces:
IEventCommunicator

public class EventCommunicatorService
extends java.lang.Object
implements IEventCommunicator

Implementation that is visible to client. Simply delegates to internal communicators that will look for a certain implementation registered at the org.ceno.communication.communicators extension point.

Since:
0.0.1
Version:
0.0.1
Author:
Andre Albert <andre.albert82@googlemail.com>

Constructor Summary
EventCommunicatorService(IConnectorService connService)
           
 
Method Summary
 void communicate(IEvent event)
          
<T> T
query(ReturnableEvent<T> event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventCommunicatorService

public EventCommunicatorService(IConnectorService connService)
Method Detail

communicate

public void communicate(IEvent event)
                 throws CommunicationException

Specified by:
communicate in interface IEventCommunicator
Throws:
CommunicationException

query

public <T> T query(ReturnableEvent<T> event)
        throws CommunicationException
Specified by:
query in interface IEventCommunicator
Throws:
CommunicationException