Module jcifs

Class DcerpcPipeHandle

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.DcerpcHandle
org.codelibs.jcifs.smb1.dcerpc.DcerpcPipeHandle
All Implemented Interfaces:
DcerpcConstants

public class DcerpcPipeHandle extends DcerpcHandle
DCERPC handle implementation using SMB named pipes for transport
  • Constructor Details

  • Method Details

    • doSendFragment

      protected void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException
      Description copied from class: DcerpcHandle
      Sends a DCERPC fragment to the remote endpoint
      Specified by:
      doSendFragment in class DcerpcHandle
      Parameters:
      buf - the buffer containing the fragment
      off - the offset into the buffer
      length - the length of data to send
      isDirect - whether to use direct transmission
      Throws:
      IOException - if an I/O error occurs
    • doReceiveFragment

      protected void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException
      Description copied from class: DcerpcHandle
      Receives a DCERPC fragment from the remote endpoint
      Specified by:
      doReceiveFragment in class DcerpcHandle
      Parameters:
      buf - the buffer to receive the fragment
      isDirect - whether to use direct reception
      Throws:
      IOException - if an I/O error occurs
    • close

      public void close() throws IOException
      Description copied from class: DcerpcHandle
      Closes this DCERPC handle and releases resources
      Specified by:
      close in class DcerpcHandle
      Throws:
      IOException - if an I/O error occurs during close