org.mobicents.jcc.inap.protocol.tcap
Class Util
java.lang.Object
org.mobicents.jcc.inap.protocol.tcap.Util
public class Util
- extends java.lang.Object
- Author:
- Oleg Kulikov
|
Constructor Summary |
Util()
Creates a new instance of Util |
|
Method Summary |
static void |
encodeLength(int length,
java.io.OutputStream out)
|
static void |
encodeTransactioID(int tag,
long tid,
java.io.OutputStream out)
|
protected static byte[] |
intToByteArray(int mask,
int shift,
int num)
|
static int |
readLen(java.io.InputStream in)
|
static int |
readTag(java.io.InputStream in)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
- Creates a new instance of Util
readLen
public static int readLen(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
readTag
public static int readTag(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
intToByteArray
protected static byte[] intToByteArray(int mask,
int shift,
int num)
encodeLength
public static void encodeLength(int length,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
encodeTransactioID
public static void encodeTransactioID(int tag,
long tid,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.