com.BobCo.communication
Class SrvTask

java.lang.Object
  extended bycom.BobCo.communication.SrvTask

public class SrvTask
extends java.lang.Object

SrvTask demonstrates how a server task can communicate with an agent program. SrvTask sends a message synchronously to the msglogr program, waits for the return code and prints a completion message.


Method Summary
static void main(java.lang.String[] args)
          Main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
Main method. Creates a service node. Creates a message. Sends the message and waits for command complete. Closes service node after command complete is received.