public class DisNetworking
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
DisNetworking.BuffAndLength |
Constructor and Description |
---|
DisNetworking() |
DisNetworking(int port,
java.lang.String mcastgroup) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIp() |
int |
getPort() |
Pdu |
receivePdu() |
DisNetworking.BuffAndLength |
receiveRawPdu() |
void |
sendPdu(Pdu pdu) |
void |
sendRawPdu(byte[] data) |
void |
stop() |
public DisNetworking()
public DisNetworking(int port, java.lang.String mcastgroup)
public int getPort()
public java.lang.String getIp()
public void stop()
public Pdu receivePdu() throws java.io.IOException
java.io.IOException
public DisNetworking.BuffAndLength receiveRawPdu() throws java.io.IOException
java.io.IOException
public void sendPdu(Pdu pdu) throws java.io.IOException
java.io.IOException
public void sendRawPdu(byte[] data) throws java.io.IOException
java.io.IOException