gps.protocol
Class Server

java.lang.Object
  extended by gps.protocol.Agent
      extended by gps.protocol.Server
All Implemented Interfaces:
SimEventHandler
Direct Known Subclasses:
BTTracker

public class Server
extends Agent

Server base class, all specific protocol peers inherit from it.

Version:
1.2, 6/20/2005
Author:
Weishuai Yang

Constructor Summary
Server()
          dummy constructor
Server(int i)
          constructs a Peer with peer id
 
Method Summary
 java.lang.String toString()
          gets string description
 
Methods inherited from class gps.protocol.Agent
agentDraw, attachTo, getID, getNode, handle, isActive, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server()
dummy constructor


Server

public Server(int i)
constructs a Peer with peer id

Method Detail

toString

public java.lang.String toString()
gets string description

Overrides:
toString in class Agent
Returns:
string description