Class RemoteService.agent.BrokerMessageHandler
All Packages Class Hierarchy This Package Previous Next Index
Class RemoteService.agent.BrokerMessageHandler
java.lang.Object
|
+----JavaAgent.agent.MessageHandler
|
+----JavaAgent.agent.ANSMessageHandler
|
+----RemoteService.agent.BrokerMessageHandler
- public class BrokerMessageHandler
- extends ANSMessageHandler
Subclass of ANSMessageHandler which handles all message transmissions for a
ServiceBroker.
Copyright (c) 1995, H. Robert Frost, Stanford University.
All rights reserved.
Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies,
Inc. All rights reserved.
RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the
Government is subject to restrictions as set forth in
subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.227-7013 and in similar clauses in the
FAR and NASA FAR supplement.
This software is bound by the terms and conditions listed in the
attached LICENSE file.
-
BrokerMessageHandler(ServiceBroker)
- Creates a new BrokerMessageHandler.
-
SendUnregisterMessage(String, String)
- Send unregister-service messages to all of the agents in the clients
buffer.
BrokerMessageHandler
public BrokerMessageHandler(ServiceBroker parent)
- Creates a new BrokerMessageHandler.
- Parameters:
- parent - ServiceBroker which this handler represents.
SendUnregisterMessage
public void SendUnregisterMessage(String name,
String service_agent)
- Send unregister-service messages to all of the agents in the clients
buffer. Called whenever the ServiceBroker receives an unregister-service
message from a ServiceAgent.
- Parameters:
- name - Service name which is being unregistered.
- service_agent - Name of the ServiceAgent which administered the
Service.
All Packages Class Hierarchy This Package Previous Next Index