com.b3dgs.lionengine.network
Class Client
java.lang.Object
com.b3dgs.lionengine.network.Client
public class Client
- extends java.lang.Object
Constructor Summary |
Client(java.lang.String ip,
int port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Client
public Client(java.lang.String ip,
int port)
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()