solar.service.fap
Class SolarFapService

java.lang.Object
  |
  +--solar.service.BaseService
        |
        +--solar.service.fap.FapClientService
              |
              +--solar.service.fap.SolarFapService
All Implemented Interfaces:
EventHandler, FapService, RequestHandler, Service

public class SolarFapService
extends FapClientService

Implementation of Filter-and-Pipe (FAP) service.

Version:
$Id: SolarFapService.java,v 1.13 2003/10/05 18:50:57 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  RpcService _coreRpc
           
protected  TransportService _coreTransport
           
protected  RpcService _edgeRpc
           
protected  TransportService _edgeTransport
           
protected  org.apache.log4j.Logger _log
           
 
Fields inherited from class solar.service.fap.FapClientService
_clients, _dispatch, _pipes, _rpc, _transport
 
Fields inherited from class solar.service.BaseService
_inited, _manager, _name
 
Constructor Summary
SolarFapService()
           
 
Method Summary
 RpcService getRpcService(Id pid)
          Return the RPC service used by a particular pipe.
 TransportService getTransportService(Id pid)
          Return the transport service used by a particular pipe.
 void initDependents()
          Initialize dependent services here.
 
Methods inherited from class solar.service.fap.FapClientService
getDispatchService, getPipe, handleEvent, handleRequest, makePipeId, pconnect, pconnect, pconnect, registerPipe, registerPipeId
 
Methods inherited from class solar.service.BaseService
assertInited, getDependentService, getName, getServiceManager, handleDispatchUnit, handleEvent, hasInited, init, init, setInited, setName, setServiceManager, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface solar.service.Service
getName, getServiceManager, handleDispatchUnit, hasInited, init, setName, setServiceManager, start, stop
 

Field Detail

_log

protected org.apache.log4j.Logger _log

_coreRpc

protected RpcService _coreRpc

_edgeRpc

protected RpcService _edgeRpc

_coreTransport

protected TransportService _coreTransport

_edgeTransport

protected TransportService _edgeTransport
Constructor Detail

SolarFapService

public SolarFapService()
Method Detail

initDependents

public void initDependents()
                    throws ServiceException
Description copied from interface: Service
Initialize dependent services here.

Specified by:
initDependents in interface Service
Overrides:
initDependents in class FapClientService
ServiceException

getRpcService

public RpcService getRpcService(Id pid)
Description copied from interface: FapService
Return the RPC service used by a particular pipe.

Specified by:
getRpcService in interface FapService
Overrides:
getRpcService in class FapClientService

getTransportService

public TransportService getTransportService(Id pid)
Description copied from interface: FapService
Return the transport service used by a particular pipe.

Specified by:
getTransportService in interface FapService
Overrides:
getTransportService in class FapClientService