org.nuiton.wikitty.services
Interface WikittyServiceNotifier.RemoteNotifierTransporter

All Known Implementing Classes:
XMPPNotifierTransporter
Enclosing class:
WikittyServiceNotifier

public static interface WikittyServiceNotifier.RemoteNotifierTransporter

This interface must be implemented to send and received remote message. Only sendMessage method is in interface but you must write receive method too, but this method is protocol specific and can't appear in interface


Method Summary
 void sendMessage(WikittyEvent event)
          Send a jgroup message to all other channel member.
 void setWikittyServiceNotifier(WikittyServiceNotifier ws)
          this method must be call before RemoteNotifierTransporter utilisation to indicate which service use it
 

Method Detail

setWikittyServiceNotifier

void setWikittyServiceNotifier(WikittyServiceNotifier ws)
this method must be call before RemoteNotifierTransporter utilisation to indicate which service use it

Parameters:
ws -

sendMessage

void sendMessage(WikittyEvent event)
                 throws Exception
Send a jgroup message to all other channel member.

Parameters:
event - message to send
Throws:
Exception


Copyright © 2009-2011 CodeLutin. All Rights Reserved.