solar.service.dan
Interface DanService

All Superinterfaces:
EventHandler, RequestHandler, Service
All Known Implementing Classes:
AbstractDanService, DanClientService

public interface DanService
extends Service

Interface for DAN (Data Aggregation Network) service.

Version:
$Id: DanService.java,v 1.3 2003/10/05 18:50:55 glchen Exp $
Author:
Guanling Chen

Method Summary
 void connect(int type, Guid sguid, java.lang.String outport, Guid dguid, java.lang.String inport)
          Connect two nodes (at least one local) with a pipe.
 DirectoryService getDirectoryService()
          Get the directory service used by DAN.
 FapService getFapService()
          Get the fap service used by DAN.
 Address getLocalAddress()
          Return the local address of the resident Planet.
 NodeManager getNodeManager()
          Return the node manager for this DAN service.
 RpcService getRpcService()
          Get the rpc service used by DAN.
 Guid makeGuid()
          Create a global unique ID.
 
Methods inherited from interface solar.service.Service
getName, getServiceManager, handleDispatchUnit, hasInited, init, initDependents, setName, setServiceManager, start, stop
 
Methods inherited from interface solar.api.EventHandler
handleEvent
 
Methods inherited from interface solar.api.RequestHandler
handleRequest
 

Method Detail

connect

public void connect(int type,
                    Guid sguid,
                    java.lang.String outport,
                    Guid dguid,
                    java.lang.String inport)
             throws DanException
Connect two nodes (at least one local) with a pipe.

DanException

getLocalAddress

public Address getLocalAddress()
Return the local address of the resident Planet.


getFapService

public FapService getFapService()
Get the fap service used by DAN.


getRpcService

public RpcService getRpcService()
Get the rpc service used by DAN.


getDirectoryService

public DirectoryService getDirectoryService()
Get the directory service used by DAN.


getNodeManager

public NodeManager getNodeManager()
Return the node manager for this DAN service.


makeGuid

public Guid makeGuid()
Create a global unique ID.