|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--solar.service.BaseService | +--solar.service.dan.AbstractDanService | +--solar.service.dan.SolarDanService
The Solar implementation of DAN service. We enforce that all the pipe setup requests involving a Solar client are always issued from that client. The Planet never issues request to setup a pipe to a Solar client. So we can be sure that the remote end for a requesting pipe is always on the Planet.
Field Summary |
Fields inherited from class solar.service.dan.AbstractDanService |
_coreRpc, _coreTransport, _directory, _edgeRpc, _edgeTransport, _fap, _laddr, _nodeman, _parser, _pc |
Fields inherited from class solar.service.BaseService |
_inited, _manager, _name |
Fields inherited from interface solar.service.dan.DanConstants |
DAN_INPORT, DAN_OUTPORT |
Fields inherited from interface solar.service.fap.FapConstants |
FAP_DATA, FAP_MIXED, FAP_PID, FAP_PULL, FAP_PUSH |
Constructor Summary | |
SolarDanService()
|
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. |
java.lang.Object |
handleRequest(Request req)
Processing a request. |
Methods inherited from class solar.service.dan.AbstractDanService |
getDirectoryService, getFapService, getLocalAddress, getNodeManager, getRpcService, init, initDependents, makeGraphManager, makeGuid |
Methods inherited from class solar.service.BaseService |
assertInited, getDependentService, getName, getServiceManager, handleDispatchUnit, handleEvent, handleEvent, hasInited, 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, setName, setServiceManager, start, stop |
Methods inherited from interface solar.api.EventHandler |
handleEvent |
Constructor Detail |
public SolarDanService()
Method Detail |
public java.lang.Object handleRequest(Request req) throws java.lang.Exception
RequestHandler
handleRequest
in interface RequestHandler
handleRequest
in class AbstractDanService
java.lang.Exception
public void connect(int type, Guid sguid, java.lang.String outport, Guid dguid, java.lang.String inport) throws DanException
DanService
DanException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |