|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.ssl.SSLSslSecTrans
public final class SSLSslSecTrans
This is a convenience wrapper around the SSL
class.
It provides helper methods to retrieve all data from the
SSL
class in an easy way.
Method Summary | |
---|---|
static SSLSslSecTrans |
create(org.omg.IOP.Codec codec,
byte[] data)
This method just wraps this class around an instance of type SSL that is decoded from the specified byte array. |
static SSLSslSecTrans |
create(org.omg.IOP.Codec codec,
short target_supports,
short target_requires,
int port)
This method creates a SSL struct. |
static SSLSslSecTrans |
create(org.omg.IOP.Codec codec,
SSL ssl)
This method just wraps this class around the specified instance of type SSL . |
byte[] |
getEncoded(org.omg.CORBA.ORB orb)
Return the SSL instance embedded into an
Any and GIOP encoded as byte array. |
SSL |
getInternal()
Return the internal member which this class wraps. |
int |
getPort()
Return the port number from SSL.port . |
short |
getTargetRequires()
Return the bit field of the SSL.target_requires
member or -1 if the SSL member of this class is not set. |
java.lang.String |
getTargetRequiresString()
Returns a textual representation of the SSL.target_requires
bit field. |
short |
getTargetSupports()
Return the bit field of the SSL.target_supports
member or -1 if the SSL member of this class is not set. |
java.lang.String |
getTargetSupportsString()
Returns a textual representation of the SSL.target_supports
bit field. |
java.lang.String |
toString()
This method creates a stringified representation of the class SSL . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static SSLSslSecTrans create(org.omg.IOP.Codec codec, SSL ssl)
SSL
.
codec
- The codec to be used for GIOP encoding and decoding.ssl
- The instance of type SSL
this class
is a wrapper for.
SSL
.public static SSLSslSecTrans create(org.omg.IOP.Codec codec, byte[] data)
SSL
that is decoded from the specified byte array.
codec
- The codec to be used for GIOP encoding and decoding.data
- The byte array containing a encoded instance of type
SSL
.
SSL
or null in case the decoding of the
data failed.public static SSLSslSecTrans create(org.omg.IOP.Codec codec, short target_supports, short target_requires, int port)
codec
- The codec used for GIOP encoding and decoding.target_supports
- The association options the target supports.target_requires
- The association options the target requires.port
- The port number.
SSL
.public SSL getInternal()
SSL
.public byte[] getEncoded(org.omg.CORBA.ORB orb)
SSL
instance embedded into an
Any
and GIOP encoded as byte array.
Any
or null in case the wrapped member has not been set.public short getTargetSupports()
SSL.target_supports
member or -1 if the SSL
member of this class is not set.
SSL.target_supports
bit field or -1 when
the SSL
member of this class has not been set.public java.lang.String getTargetSupportsString()
SSL.target_supports
bit field. This method simply concatenates the names of the bits by a comma.
SSL
member of this class has not been set.public short getTargetRequires()
SSL.target_requires
member or -1 if the SSL
member of this class is not set.
SSL.target_requires
bit field or -1 when
the SSL
member of this class has not been set.public java.lang.String getTargetRequiresString()
SSL.target_requires
bit field. This method simply concatenates the names of the bits by a comma.
SSL
member of this class has not been set.public int getPort()
SSL.port
.
SSL.port
member or -1 when
the SSL
member of this class has not been set.public java.lang.String toString()
SSL
.
toString
in class java.lang.Object
SSL
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |