com.sun.jini.example.hello
Class Client

java.lang.Object
  extended by com.sun.jini.example.hello.Client

public class Client
extends Object

Defines an application that makes calls to a remote Hello server. The application uses the following arguments: [all] - All arguments are used as options when getting the configuration The application uses the following configuration entries, with component com.sun.jini.example.hello.Client: loginContext type: LoginContext default: null If non-null, specifies the JAAS login context to use for performing a JAAS login and supplying the Subject to use when running the client. If null, no JAAS login is performed. preparer type: ProxyPreparer default: new BasicProxyPreparer() Proxy preparer for the server proxy serviceDiscovery type: ServiceDiscoveryManager default: new ServiceDiscoveryManager( new LookupDiscovery(new String[] { "" }, config), null, config) Object used for discovering a server that implement Hello.

Author:
Sun Microsystems, Inc.

Constructor Summary
Client()
           
 
Method Summary
static void main(String[] args)
          Starts an application that makes calls to a remote Hello implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Starts an application that makes calls to a remote Hello implementation.

Throws:
Exception


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.