|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.middleware.broker.client.BrokerClientImpl
public class BrokerClientImpl
Simple Broker showing how to access to an AALSpace and how to send messages
Constructor Summary | |
---|---|
BrokerClientImpl(ModuleContext module)
|
Method Summary | |
---|---|
void |
dispose()
Release the resources |
String |
getBrokerName()
|
void |
handleSendError(ChannelMessage message,
CommunicationConnectorException e)
Callback for error handling |
boolean |
init()
|
void |
messageReceived(ChannelMessage message)
Callback for the reception of messages |
void |
setStop(boolean stop)
|
void |
startBrokerClient()
|
BrokerMessage |
unmarshall(String message)
From String to Broker Message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrokerClientImpl(ModuleContext module)
Method Detail |
---|
public void startBrokerClient()
public void setStop(boolean stop)
public void handleSendError(ChannelMessage message, CommunicationConnectorException e)
MessageListener
handleSendError
in interface MessageListener
public void messageReceived(ChannelMessage message)
MessageListener
messageReceived
in interface MessageListener
public String getBrokerName()
getBrokerName
in interface Broker
public void dispose()
Broker
dispose
in interface Broker
public boolean init()
init
in interface Broker
public BrokerMessage unmarshall(String message)
Broker
unmarshall
in interface Broker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |