@Deprecated public class MTSBasedYellowPages extends YellowPages
Constructor and Description |
---|
MTSBasedYellowPages()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
onKernelMessage(KernelMessage msg)
Deprecated.
Invoked by the kernel to treat a low-level message.
|
void |
registerService(String service,
AgentIdentifier agent)
Deprecated.
Register a service provided by the specified agent.
|
void |
unregisterService(String service)
Deprecated.
Remove a service from the system.
|
void |
unregisterService(String service,
AgentIdentifier agent)
Deprecated.
Remove the specified agent-service association.
|
void |
unregisterServices(AgentIdentifier agent)
Deprecated.
Remove the specified agent from the yellow pages.
|
getAgentFor, getAgents, getAllServices, getMTS, isRegisteredAgent, isRegisteredAgent, isRegisteredService
public void registerService(String service, AgentIdentifier agent)
registerService
in class YellowPages
service
- is the name of the service.agent
- is the agent that provides the servicepublic void unregisterService(String service, AgentIdentifier agent)
unregisterService
in class YellowPages
service
- is the name of the service.agent
- is the agent that no more provides the servicepublic void unregisterService(String service)
All associated agents will be unlinked to the specified service.
unregisterService
in class YellowPages
public void unregisterServices(AgentIdentifier agent)
unregisterServices
in class YellowPages
void onKernelMessage(KernelMessage msg)
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.