|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netP5.NetMessage
public class NetMessage
Method Summary | |
---|---|
String |
address()
|
byte[] |
getData()
get the data of the message as bytes. |
DatagramPacket |
getDatagramPacket()
|
String |
getString()
get the data the message as string. |
TcpPacket |
getTcpPacket()
|
InetAddress |
inetAddress()
|
int |
port()
get the port the net message was received at. |
int |
protocol()
get the protocol type the message was sent over. |
TcpClient |
tcpConnection()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public TcpPacket getTcpPacket()
public DatagramPacket getDatagramPacket()
public byte[] getData()
public String getString()
public int protocol()
public int port()
public TcpClient tcpConnection()
public String address()
public InetAddress inetAddress()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |