|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.sunrpc.XDR2JavaVV
public class XDR2JavaVV
Utility class to convert XDR kernel types to Java types and vice versa.
| Constructor Summary | |
|---|---|
XDR2JavaVV()
|
|
| Method Summary | |
|---|---|
static TransactionID |
convert(ACTP_XID xdr)
|
static TransactionID[] |
convert(ACTP_XIDS xdr)
|
static COOKIE |
convert(Cookie j)
|
static Cookie |
convert(COOKIE xdr)
Cookie |
static byte[] |
convert(DESCRIPTION xdr)
|
static ENDPOINT |
convert(Endpoint j)
|
static Endpoint |
convert(ENDPOINT xdr)
|
static KernelException |
convert(int xdr)
|
static SelectSets |
convert(int[] read_dsc,
int[] write_dsc,
int[] except_dsc)
|
static RoleBitmap |
convert(ROLE_BITMAP xdr)
|
static ROLE_BITMAP |
convert(RoleBitmap j)
|
static java.lang.String |
convert(SCID xdr)
|
static int |
convert(SelectSets j)
Calculate number of ready descriptors |
static int[] |
convert(SelectSets j,
int set)
|
static SCID |
convert(java.lang.String j)
|
static TLS_SEC_SUITES |
convert(java.lang.String[] j)
|
static byte[] |
convert(SUBTYPE xdr)
|
static int |
convert(java.lang.Throwable e)
|
static int |
convert(TIME xdr)
|
static java.lang.String[] |
convert(TLS_SEC_SUITES sec_suites)
|
static TOCEntry |
convert(TOC_ENTRY xdr)
|
static TOCEntry[] |
convert(TOC_ENTRY[] xdr)
|
static TOC_ENTRY |
convert(TOCEntry j)
|
static TOC_ENTRY[] |
convert(TOCEntry[] toc)
|
static ACTP_XID |
convert(TransactionID j)
|
static ACTP_XIDS |
convert(TransactionID[] j)
|
static ACID |
convertACID(int j)
|
static DESCRIPTION |
convertDescription(byte[] j)
|
static java.lang.String |
convertParameterName(java.lang.String j)
|
static SEGMENT_ID |
convertSEGMENT_ID(int j)
|
static SUBTYPE |
convertSubtype(byte[] j)
|
static byte[] |
IPv4or6AddressTov6(byte[] ipaddr)
Java's InetAddress class always returns V4 addresses as 4 bytes, not as a 16 byte "IPv4-Mapped IPv6 Address" |
static ACTP_XID |
zeroACTP_XID()
|
static COOKIE |
zeroCOOKIE()
|
static ENDPOINT |
zeroENDPOINT()
|
static TOC_ENTRY |
zeroTOC_ENTRY()
|
static TOC_ENTRY[] |
zeroTOC_ENTRYArray()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XDR2JavaVV()
| Method Detail |
|---|
public static Cookie convert(COOKIE xdr)
throws IPCException
IPCException
public static COOKIE convert(Cookie j)
throws IPCException
IPCExceptionpublic static COOKIE zeroCOOKIE()
public static RoleBitmap convert(ROLE_BITMAP xdr)
throws IPCException
IPCException
public static ROLE_BITMAP convert(RoleBitmap j)
throws IPCException
IPCException
public static java.lang.String[] convert(TLS_SEC_SUITES sec_suites)
throws IPCException
IPCException
public static TLS_SEC_SUITES convert(java.lang.String[] j)
throws IPCException
IPCException
public static ENDPOINT convert(Endpoint j)
throws IPCException
IPCExceptionpublic static byte[] IPv4or6AddressTov6(byte[] ipaddr)
Inet6Address
public static Endpoint convert(ENDPOINT xdr)
throws IPCException
IPCExceptionpublic static ENDPOINT zeroENDPOINT()
public static java.lang.String convert(SCID xdr)
throws IPCException
IPCException
public static SCID convert(java.lang.String j)
throws IPCException
IPCException
public static TransactionID[] convert(ACTP_XIDS xdr)
throws IPCException
IPCException
public static ACTP_XIDS convert(TransactionID[] j)
throws IPCException
IPCException
public static TransactionID convert(ACTP_XID xdr)
throws IPCException
IPCException
public static ACTP_XID convert(TransactionID j)
throws IPCException
IPCExceptionpublic static ACTP_XID zeroACTP_XID()
public static TOC_ENTRY[] convert(TOCEntry[] toc)
public static TOCEntry[] convert(TOC_ENTRY[] xdr)
public static TOC_ENTRY[] zeroTOC_ENTRYArray()
public static TOC_ENTRY convert(TOCEntry j)
public static TOCEntry convert(TOC_ENTRY xdr)
public static TOC_ENTRY zeroTOC_ENTRY()
public static ACID convertACID(int j)
public static SEGMENT_ID convertSEGMENT_ID(int j)
public static SelectSets convert(int[] read_dsc,
int[] write_dsc,
int[] except_dsc)
throws IPCException
IPCExceptionpublic static int convert(SelectSets j)
public static int[] convert(SelectSets j,
int set)
throws IPCException
IPCException
public static java.lang.String convertParameterName(java.lang.String j)
throws IPCException
IPCException
public static byte[] convert(SUBTYPE xdr)
throws IPCException
IPCException
public static SUBTYPE convertSubtype(byte[] j)
throws IPCException
IPCException
public static byte[] convert(DESCRIPTION xdr)
throws IPCException
IPCException
public static DESCRIPTION convertDescription(byte[] j)
throws IPCException
IPCExceptionpublic static int convert(TIME xdr)
public static int convert(java.lang.Throwable e)
public static KernelException convert(int xdr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||