All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.communication.RegisterMessage

java.lang.Object
   |
   +----EDU.gatech.cc.is.communication.Message
           |
           +----EDU.gatech.cc.is.communication.RegisterMessage

public class RegisterMessage
extends Message
implements Cloneable, Serializable
A message to register the client with the server. For use internally by RoboComm, not normally used at the application level.

Copyright (c)1998 Tucker Balch

Version:
$Revision: 1.2 $
Author:
Tucker Balch

Variable Index

 o val
Our ID to register.

Constructor Index

 o RegisterMessage()
create a RegisterMessage with default value.
 o RegisterMessage(int)
create a RegisterMessage with specific id.

Method Index

 o main(String[])
test the RegisterMessage class.
 o paramString()
return a printable String representation of the RegisterMessage.

Variables

 o val
 public int val
Our ID to register.

Constructors

 o RegisterMessage
 public RegisterMessage()
create a RegisterMessage with default value.

 o RegisterMessage
 public RegisterMessage(int i)
create a RegisterMessage with specific id.

Parameters:
n - int, the id of the sender.

Methods

 o paramString
 public String paramString()
return a printable String representation of the RegisterMessage.

Returns:
the String representation
Overrides:
paramString in class Message
 o main
 public static void main(String args[])
test the RegisterMessage class.


All Packages  Class Hierarchy  This Package  Previous  Next  Index