@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, isRegisteredServicepublic void registerService(String service, AgentIdentifier agent)
registerService in class YellowPagesservice - is the name of the service.agent - is the agent that provides the servicepublic void unregisterService(String service, AgentIdentifier agent)
unregisterService in class YellowPagesservice - 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 YellowPagespublic void unregisterServices(AgentIdentifier agent)
unregisterServices in class YellowPagesvoid onKernelMessage(KernelMessage msg)
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.