public final class MulticastUtil extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
BIG_ENDIAN
Big endian flag.
|
static int |
BOUNDARY
Packet boundary length.
|
static byte |
HDR_VERSION
MIOP packet header version (1.0).
|
static int |
ID_SIZE
Our packet collection (message) id size.
|
static char[] |
MAGIC
Magic field of MIOP packet.
|
static byte |
STOP_FLAG
The stop flag.
|
Constructor and Description |
---|
MulticastUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
getEncapsulatedUIPMCProfile(ORB orb,
ClientConnection connection)
Encapsulates the uipmc profile in the given ClientConnection.
|
static byte[] |
getEncapsulatedUIPMCProfile(ORB orb,
org.omg.MIOP.UIPMC_ProfileBody upb)
Encapsulates the given uipmc profile and returns the bytes.
|
static boolean |
matchMIOPMagic(char[] buf)
Match miop magic markers
|
public static final int ID_SIZE
public static final int BOUNDARY
public static final char[] MAGIC
public static final byte HDR_VERSION
public static final byte BIG_ENDIAN
public static final byte STOP_FLAG
public static final boolean matchMIOPMagic(char[] buf)
buf
- the bufpublic static byte[] getEncapsulatedUIPMCProfile(ORB orb, org.omg.MIOP.UIPMC_ProfileBody upb)
orb
- the orbupb
- the upbpublic static byte[] getEncapsulatedUIPMCProfile(ORB orb, ClientConnection connection)
orb
- the orbconnection
- the connectionCopyright © 2017 JacORB. All rights reserved.