Module jcifs

Class NdrObject

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
Direct Known Subclasses:
DcerpcMessage, lsarpc.LsarDnsDomainInfo, lsarpc.LsarDomainInfo, lsarpc.LsarObjectAttributes, lsarpc.LsarQosInfo, lsarpc.LsarRefDomainList, lsarpc.LsarSidArray, lsarpc.LsarSidPtr, lsarpc.LsarTranslatedName, lsarpc.LsarTranslatedSid, lsarpc.LsarTransNameArray, lsarpc.LsarTransSidArray, lsarpc.LsarTrustInformation, NdrHyper, NdrLong, NdrShort, NdrSmall, netdfs.DfsEnumArray1, netdfs.DfsEnumArray200, netdfs.DfsEnumArray3, netdfs.DfsEnumArray300, netdfs.DfsEnumStruct, netdfs.DfsInfo1, netdfs.DfsInfo200, netdfs.DfsInfo3, netdfs.DfsInfo300, netdfs.DfsStorageInfo, rpc.policy_handle, rpc.sid_t, rpc.unicode_string, rpc.uuid_t, samr.SamrRidWithAttribute, samr.SamrRidWithAttributeArray, samr.SamrSamArray, samr.SamrSamEntry, srvsvc.ServerInfo100, srvsvc.ShareInfo0, srvsvc.ShareInfo1, srvsvc.ShareInfo502, srvsvc.ShareInfoCtr0, srvsvc.ShareInfoCtr1, srvsvc.ShareInfoCtr502, srvsvc.TimeOfDayInfo

public abstract class NdrObject extends Object
Base class for NDR (Network Data Representation) objects used in DCE/RPC communication. This abstract class defines the interface for encoding and decoding NDR data types.
  • Constructor Details

    • NdrObject

      public NdrObject()
      Default constructor for NDR object
  • Method Details

    • encode

      public abstract void encode(NdrBuffer dst) throws NdrException
      Encodes this NDR object into the specified buffer
      Parameters:
      dst - the destination buffer for encoding
      Throws:
      NdrException - if encoding fails
    • decode

      public abstract void decode(NdrBuffer src) throws NdrException
      Decodes this NDR object from the specified buffer
      Parameters:
      src - the source buffer for decoding
      Throws:
      NdrException - if decoding fails