solar.service.pack
Class EndPointManager

java.lang.Object
  |
  +--solar.service.pack.EndPointManager

public class EndPointManager
extends java.lang.Object

A class manages all known end points and their related information.

Version:
$Id: EndPointManager.java,v 1.5 2003/10/08 02:10:46 glchen Exp $
Author:
Guanling Chen

Nested Class Summary
(package private)  class EndPointManager.EP
           
 
Field Summary
protected  java.util.Hashtable _endpoints
           
 
Constructor Summary
EndPointManager()
           
 
Method Summary
 void assertAttached(Id id)
           
 void assertNotAttached(Id id)
           
 void attach(Id id, Id session, Address address, EndPoint endpoint)
           
 boolean contains(Id id)
           
 void detach(Id id)
           
 Address getAddress(Id id)
           
 EndPoint getEndPoint(Id id)
           
 Id getSession(Id id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_endpoints

protected java.util.Hashtable _endpoints
Constructor Detail

EndPointManager

public EndPointManager()
Method Detail

contains

public boolean contains(Id id)

attach

public void attach(Id id,
                   Id session,
                   Address address,
                   EndPoint endpoint)

detach

public void detach(Id id)

getSession

public Id getSession(Id id)

getAddress

public Address getAddress(Id id)

getEndPoint

public EndPoint getEndPoint(Id id)

assertAttached

public void assertAttached(Id id)

assertNotAttached

public void assertNotAttached(Id id)