app2
Class CustomTypes

java.lang.Object
  extended byapp2.CustomTypes

public class CustomTypes
extends java.lang.Object


Constructor Summary
CustomTypes()
           
 
Method Summary
 java.util.Hashtable decodeData(java.io.DataInputStream dis)
           
 NewPlayer decodeNewPlayer(java.io.DataInputStream dis)
           
 void encodeData(java.util.Hashtable h, java.io.DataOutputStream dos)
           
 void encodeNewPlayer(java.io.DataOutputStream dos, NewPlayer customType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomTypes

public CustomTypes()
Method Detail

encodeNewPlayer

public void encodeNewPlayer(java.io.DataOutputStream dos,
                            NewPlayer customType)
                     throws java.lang.Exception
Throws:
java.lang.Exception

encodeData

public void encodeData(java.util.Hashtable h,
                       java.io.DataOutputStream dos)
                throws java.lang.Exception
Throws:
java.lang.Exception

decodeNewPlayer

public NewPlayer decodeNewPlayer(java.io.DataInputStream dis)
                          throws java.lang.Exception
Throws:
java.lang.Exception

decodeData

public java.util.Hashtable decodeData(java.io.DataInputStream dis)
                               throws java.lang.Exception
Throws:
java.lang.Exception