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

SystemServiceRequestIsolate

public class SystemServiceRequestIsolate extends Object
Isolate created in TestSystemServiceRequest test.

Fields Summary
private static SecurityToken
token
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


         
          
                
                

        Link[] isolateLinks = LinkPortal.getLinks();
        NamedLinkPortal.receiveLinks(isolateLinks[0]);

        SystemServiceRequestor serviceRequestor = 
            SystemServiceRequestor.getInstance(token);

        SystemServiceConnection con = null;
        con = serviceRequestor.requestService(
                TestSystemServiceRequest.SERVICE_ID + 1);
        if (con != null) {
            System.err.println("Error: Connection is expected to be null");
        }

        con = serviceRequestor.requestService(
                TestSystemServiceRequest.SERVICE_ID);