java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
org.codelibs.jcifs.smb1.dcerpc.DcerpcBind
- All Implemented Interfaces:
DcerpcConstants
DCERPC Bind message for establishing a connection context.
This class handles the binding of DCERPC interfaces for RPC communication.
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
alloc_hint, call_id, flags, length, ptype, resultFields inherited from interface org.codelibs.jcifs.smb1.dcerpc.DcerpcConstants
DCERPC_CONC_MPX, DCERPC_DID_NOT_EXECUTE, DCERPC_FIRST_FRAG, DCERPC_LAST_FRAG, DCERPC_MAYBE, DCERPC_OBJECT_UUID, DCERPC_PENDING_CANCEL, DCERPC_RESERVED_1, DCERPC_UUID_SYNTAX_NDR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode_out(NdrBuffer buf) Decode the output parameters from this DCERPC message.voidEncode the input parameters for this DCERPC message.intgetOpnum()Get the operation number for this DCERPC message.Get the result of the DCERPC call.
-
Constructor Details
-
DcerpcBind
public DcerpcBind()Constructs a new DcerpcBind message.
-
-
Method Details
-
getResult
Description copied from class:DcerpcMessageGet the result of the DCERPC call.- Overrides:
getResultin classDcerpcMessage- Returns:
- result exception if the call failed, null otherwise
-
getOpnum
public int getOpnum()Description copied from class:DcerpcMessageGet the operation number for this DCERPC message.- Specified by:
getOpnumin classDcerpcMessage- Returns:
- the operation number
-
encode_in
Description copied from class:DcerpcMessageEncode the input parameters for this DCERPC message.- Specified by:
encode_inin classDcerpcMessage- Parameters:
buf- the buffer to encode into- Throws:
NdrException- if encoding fails
-
decode_out
Description copied from class:DcerpcMessageDecode the output parameters from this DCERPC message.- Specified by:
decode_outin classDcerpcMessage- Parameters:
buf- the buffer to decode from- Throws:
NdrException- if decoding fails
-