ggz.cards.common
Class GGZCardInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by ggz.common.dio.DIOInputStream
                  extended by ggz.cards.common.GGZCardInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput

public class GGZCardInputStream
extends DIOInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
GGZCardInputStream(java.io.InputStream in)
           
 
Method Summary
 Bid read_bid()
           
 Card read_card()
           
 CardSetType read_cardset_type()
           
 GameMessage read_game_message()
           
 ServerOpCode read_opcode()
           
 int read_seat()
           
 Suit read_suit()
           
 
Methods inherited from class ggz.common.dio.DIOInputStream
readString, startPacket
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GGZCardInputStream

public GGZCardInputStream(java.io.InputStream in)
Method Detail

read_cardset_type

public CardSetType read_cardset_type()
                              throws java.io.IOException
Throws:
java.io.IOException

read_card

public Card read_card()
               throws java.io.IOException
Throws:
java.io.IOException

read_suit

public Suit read_suit()
               throws java.io.IOException
Throws:
java.io.IOException

read_bid

public Bid read_bid()
             throws java.io.IOException
Throws:
java.io.IOException

read_opcode

public ServerOpCode read_opcode()
                         throws java.io.IOException
Throws:
java.io.IOException

read_game_message

public GameMessage read_game_message()
                              throws java.io.IOException
Throws:
java.io.IOException

read_seat

public int read_seat()
              throws java.io.IOException
Throws:
java.io.IOException