one.world.rep
Class DiscoveryServer
java.lang.Object
|
+--one.world.core.Component
|
+--one.world.rep.DiscoveryServer
- All Implemented Interfaces:
- Serializable
- public final class DiscoveryServer
- extends Component
A service discovery server. Accepts service registrations and
issues leases for storing these registrations in a registry.
Answers client requests for service lookups and routes events to
services using a late binding approach. None of the server event
handlers should be directly used by application code. Interaction
with the server is performed by the DiscoveryClient component.
Imported and Exported Event Handlers
Exported event handlers:
- main
- Handles environment events.
Imported event handlers:
- request
- The environment request handler.
Other event handlers:
- server
- Handles
RemoteEvents from DiscoveryClients
- Version:
- $Revision: 1.41 $
- See Also:
DiscoveryClient, Serialized Form
| Methods inherited from class one.world.core.Component |
declareExported, declareImported, equals, eventHandlers, getDescriptor, getEnvironment, getLinkedHandlers, getLinkedNumber, getTimer, hasEventHandler, hashCode, isFullyLinked, isLinked, isSealed, link, link, run, seal, unbox, undeclare, unlink, wrap |
DiscoveryServer
public DiscoveryServer(Environment env)
- Create a new instance of
DiscoveryServer.
- Parameters:
env - The environment for the new instance.
getDescriptor
public ComponentDescriptor getDescriptor()
- Get the component descriptor.
- Overrides:
getDescriptor in class Component
- Following copied from class:
one.world.core.Component
- Returns:
- The component descriptor for this component.
(C) Copyright 2001 UW CSE