Class GatewayPeer

java.lang.Object
  |
  +--GatewayPeer

public class GatewayPeer
extends java.lang.Object

This class is used to create and run service advertisements and manage query task table datastructure


Constructor Summary
GatewayPeer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Instantiates GatewayPeer and reads messages to take proper action
 void readMessages()
          Reads messages in the pipe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayPeer

public GatewayPeer()
Method Detail

main

public static void main(java.lang.String[] args)
Instantiates GatewayPeer and reads messages to take proper action


readMessages

public void readMessages()
Reads messages in the pipe. Loops infinitely and waits for messages to arrive in the pipe