oogp2p
Class CommandNettable

java.lang.Object
  extended byoogp2p.Nettable
      extended byoogp2p.StringNettable
          extended byoogp2p.CommandNettable
All Implemented Interfaces:
java.io.Serializable

public class CommandNettable
extends StringNettable

CommandNettable.java Created: Tue Apr 1 19:05:31 2003

Version:
Author:
See Also:
Serialized Form

Field Summary
private  java.lang.Object myContents
           
private  CommandFactory myFactory
           
 
Fields inherited from class oogp2p.StringNettable
myString
 
Fields inherited from class oogp2p.Nettable
myApplication, myReceiver, mySender
 
Constructor Summary
CommandNettable(java.lang.String command, java.net.InetAddress myIP, java.net.InetAddress myConnectedToIP)
           
CommandNettable(java.lang.String s, java.lang.Object c, java.net.InetAddress myIP, java.net.InetAddress myConnectedToIP)
           
 
Method Summary
 java.lang.Object getContents()
           
 void setContents(java.lang.Object c)
           
 
Methods inherited from class oogp2p.StringNettable
setString, toString
 
Methods inherited from class oogp2p.Nettable
getApplicationName, getReceiver, getSender, setReceiver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myFactory

private CommandFactory myFactory

myContents

private java.lang.Object myContents
Constructor Detail

CommandNettable

public CommandNettable(java.lang.String command,
                       java.net.InetAddress myIP,
                       java.net.InetAddress myConnectedToIP)
Parameters:
command -
myIP -
myConnectedToIP -

CommandNettable

public CommandNettable(java.lang.String s,
                       java.lang.Object c,
                       java.net.InetAddress myIP,
                       java.net.InetAddress myConnectedToIP)
Method Detail

getContents

public java.lang.Object getContents()
Overrides:
getContents in class StringNettable

setContents

public void setContents(java.lang.Object c)