FileDocCategorySizeDatePackage
SystemServiceRequestHandler.javaAPI DocphoneME MR2 API (J2ME)3455Wed May 02 18:00:10 BST 2007com.sun.midp.services

SystemServiceRequestHandler

public final class SystemServiceRequestHandler extends Object

Fields Summary
static final String
SERVICE_TO_CLIENT_LINK_NAME
static final String
CLIENT_TO_SERVICE_LINK_NAME
private SystemServiceManager
serviceManager
Constructors Summary
SystemServiceRequestHandler(SystemServiceManager serviceManager)

        this.serviceManager = serviceManager;
    
Methods Summary
voidhandleIsolateRequests(IsolateSystemServiceRequestHandler requestHandler)

        new IsolateRequestHandlerThread(requestHandler).start();
    
IsolateSystemServiceRequestHandlernewIsolateRequestHandler(Isolate clientIsolate)


        IsolateSystemServiceRequestHandler requestHandler = null;
        requestHandler = new IsolateSystemServiceRequestHandler(
                serviceManager, clientIsolate);
        SystemServiceConnectionLinks requestLinks = 
            requestHandler.getSendReceiveLinks();

        NamedLinkPortal.putLink(
                SystemServiceRequestHandler.SERVICE_TO_CLIENT_LINK_NAME,
                requestLinks.getSendLink());
        NamedLinkPortal.putLink(
                SystemServiceRequestHandler.CLIENT_TO_SERVICE_LINK_NAME,
                requestLinks.getReceiveLink());

        return requestHandler;