|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ie.nuigalway.ecrg.jade.jmsagentgateway.JmsSubscriptionManager
Implementation of the Subscription Manager for the JMS Pub Sub Agent
Field Summary | |
private jade.content.ContentManager |
cm
|
private JmsAgentGatewayGui |
gui
|
private java.util.HashMap |
listenerMap
|
private static org.apache.log4j.Category |
log
|
Constructor Summary | |
JmsSubscriptionManager()
Constructor for the JmsSubscriptionManager object |
Method Summary | |
boolean |
deregister(jade.proto.SubscriptionResponder.Subscription sub)
Deregister a subscription from the manager |
boolean |
register(jade.proto.SubscriptionResponder.Subscription sub)
Register a new subscription request with the manager |
void |
setContentManager(jade.content.ContentManager cm)
Sets the contentManager attribute of the JmsSubscriptionManager object |
void |
setGUI(JmsAgentGatewayGui gui)
Sets the gUI attribute of the JmsSubscriptionManager object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static org.apache.log4j.Category log
private java.util.HashMap listenerMap
private jade.content.ContentManager cm
private JmsAgentGatewayGui gui
Constructor Detail |
public JmsSubscriptionManager()
Method Detail |
public void setContentManager(jade.content.ContentManager cm)
cm
- The new contentManager valuepublic void setGUI(JmsAgentGatewayGui gui)
gui
- The new gUI valuepublic boolean register(jade.proto.SubscriptionResponder.Subscription sub) throws jade.domain.FIPAAgentManagement.RefuseException, jade.domain.FIPAAgentManagement.NotUnderstoodException
register
in interface jade.proto.SubscriptionResponder.SubscriptionManager
sub
- Subscription information
jade.domain.FIPAAgentManagement.RefuseException
- Refuse subscription
jade.domain.FIPAAgentManagement.NotUnderstoodException
- Not understoodpublic boolean deregister(jade.proto.SubscriptionResponder.Subscription sub) throws jade.domain.FIPAAgentManagement.FailureException
deregister
in interface jade.proto.SubscriptionResponder.SubscriptionManager
sub
- Subscription to deregister
jade.domain.FIPAAgentManagement.FailureException
- Failure result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |