|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.psnc.vlab.remote.util.DatagramHelper
public class DatagramHelper
The helper class used to fill out the fields in the Datagram which is used to communicate with the VLab system
| Constructor Summary | |
|---|---|
DatagramHelper()
|
|
| Method Summary | |
|---|---|
static java.nio.ByteOrder |
getByteOrder(int byteOrder)
Decodes the byte order by the given integer value. |
static pl.psnc.vlab.remote.Dgram |
setCommonFields(pl.psnc.vlab.remote.Dgram datagramIn)
Fills all the fileds in the Datagram object which can be set. |
static pl.psnc.vlab.remote.Dgram |
setCommonFieldsWithoutSession(pl.psnc.vlab.remote.Dgram datagramIn)
Fills all the fileds in the Datagram object which can be set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatagramHelper()
| Method Detail |
|---|
public static pl.psnc.vlab.remote.Dgram setCommonFields(pl.psnc.vlab.remote.Dgram datagramIn)
throws VlabException
datagramIn - datagram (Dgram class)
VlabException - an exception which may be thrown
public static pl.psnc.vlab.remote.Dgram setCommonFieldsWithoutSession(pl.psnc.vlab.remote.Dgram datagramIn)
throws VlabException
datagramIn - datagram (Dgram class)
VlabException - an exception which may be thrown
public static java.nio.ByteOrder getByteOrder(int byteOrder)
throws VlabException
byteOrder -
VlabException - throws an exception if invalid
byte order is set
|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||