public class Client
extends java.lang.Object
Constructor and Description |
---|
Client(java.lang.String ip,
int port) |
Modifier and Type | Method and Description |
---|---|
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) |
public void update()
public void writeByte(byte b) throws java.io.IOException
java.io.IOException
public void writeShort(short s) throws java.io.IOException
java.io.IOException
public void writeString(java.lang.String str) throws java.io.IOException
java.io.IOException
public void writeInteger(int i) throws java.io.IOException
java.io.IOException
public void writeFloat(float f) throws java.io.IOException
java.io.IOException
public void writeLong(long l) throws java.io.IOException
java.io.IOException
public void writeDouble(double d) throws java.io.IOException
java.io.IOException
public void send() throws java.io.IOException
java.io.IOException
public int getID()