com.b3dgs.lionengine.network
Class Client

java.lang.Object
  extended by com.b3dgs.lionengine.network.Client

public class Client
extends java.lang.Object


Constructor Summary
Client(java.lang.String ip, int port)
           
 
Method Summary
 int getID()
           
 void send()
           
 void update()
           
 void writeByte(byte b)
           
 void writeDouble(double d)
           
 void writeFloat(float f)
           
 void writeInteger(int i)
           
 void writeLong(long l)
           
 void writeShort(short s)
           
 void writeString(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(java.lang.String ip,
              int port)
Method Detail

update

public void update()

writeByte

public void writeByte(byte b)
               throws java.io.IOException
Throws:
java.io.IOException

writeShort

public void writeShort(short s)
                throws java.io.IOException
Throws:
java.io.IOException

writeString

public void writeString(java.lang.String str)
                 throws java.io.IOException
Throws:
java.io.IOException

writeInteger

public void writeInteger(int i)
                  throws java.io.IOException
Throws:
java.io.IOException

writeFloat

public void writeFloat(float f)
                throws java.io.IOException
Throws:
java.io.IOException

writeLong

public void writeLong(long l)
               throws java.io.IOException
Throws:
java.io.IOException

writeDouble

public void writeDouble(double d)
                 throws java.io.IOException
Throws:
java.io.IOException

send

public void send()
          throws java.io.IOException
Throws:
java.io.IOException

getID

public int getID()