gov.sns.tools.services.samples
Class GreetingClient

java.lang.Object
  |
  +--gov.sns.tools.services.samples.GreetingClient

public class GreetingClient
extends java.lang.Object

GreetingClient is a sample client that demonstrates how to use the ServiceDirectory to lookup a service and send messages to it.


Constructor Summary
GreetingClient()
           
 
Method Summary
static void main(java.lang.String[] args)
          Launch a Greeting client to find greeting services and make requests on them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreetingClient

public GreetingClient()
Method Detail

main

public static void main(java.lang.String[] args)
Launch a Greeting client to find greeting services and make requests on them. This method demonstrates two approaches to finding services. You can either request services and wait or you can become a listener of service availability.

Parameters:
args - The arguments to the client (currently ignored)