com.act365.net.ip
Class IP4Writer
java.lang.Object
|
+--com.act365.net.ip.IP4Writer
- public class IP4Writer
- extends java.lang.Object
IP4Writer writes IP4Message objects to a DatagramPacket.
Fragmentation isn't supported - all messages are created
with the DONT_FRAGMENT bit set and with offset set to 0.
However, the identified is increased in order to identify
packets uniquely.
Method Summary |
static byte[] |
write(byte typeofservice,
short timetolive,
byte protocol,
byte[] source,
byte[] destination,
byte[] data)
Builds a full IP4Message object and writes it to a buffer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IP4Writer
public IP4Writer()
write
public static byte[] write(byte typeofservice,
short timetolive,
byte protocol,
byte[] source,
byte[] destination,
byte[] data)
- Builds a full IP4Message object and writes it to a buffer.
It is assumed that no options will be specified.