congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
jcifs.dcerpc
Code IndexAdd Tabnine to your IDE (free)

How to use jcifs.dcerpc

Best Java code snippets using jcifs.dcerpc (Showing top 20 results out of 315)

origin: org.samba.jcifs/jcifs

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(getResultMessage(result));
  return null;
}
origin: com.jaeksoft/jcifs-krb5-jdk7

public void bind() throws DcerpcException, IOException {
  synchronized (this) {
    try {
      state = 1;
      DcerpcMessage bind = new DcerpcBind(binding, this);
      sendrecv(bind);
    } catch (IOException ioe) {
      state = 0;
      throw ioe;
    }
  }
}
origin: org.samba.jcifs/jcifs

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(result);
  return null;
}
origin: org.samba.jcifs/jcifs

DcerpcException(int error) {
  super(getMessageByDcerpcError(error));
  this.error = error;
}
public DcerpcException(String msg) {
origin: org.codelibs/jcifs

  @Override
  public String toString () {
    return bin_to_hex(this.time_low, 8) + '-' + bin_to_hex(this.time_mid, 4) + '-' + bin_to_hex(this.time_hi_and_version, 4) + '-'
        + bin_to_hex(this.clock_seq_hi_and_reserved, 2) + bin_to_hex(this.clock_seq_low, 2) + '-' + bin_to_hex(this.node[ 0 ], 2)
        + bin_to_hex(this.node[ 1 ], 2) + bin_to_hex(this.node[ 2 ], 2) + bin_to_hex(this.node[ 3 ], 2) + bin_to_hex(this.node[ 4 ], 2)
        + bin_to_hex(this.node[ 5 ], 2);
  }
}
origin: org.codelibs/jcifs

DcerpcBind ( DcerpcBinding binding, DcerpcHandle handle ) {
  this.binding = binding;
  this.max_xmit = handle.getMaxXmit();
  this.max_recv = handle.getMaxRecv();
  this.ptype = 11;
  this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
}
origin: jcifs/jcifs

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(getResultMessage(result));
  return null;
}
origin: jcifs/jcifs

  public void bind() throws DcerpcException, IOException {
synchronized (this) {
    try {
      state = 1;
      DcerpcMessage bind = new DcerpcBind(binding, this);
      sendrecv(bind);
    } catch (IOException ioe) {
      state = 0;
      throw ioe;
    }
}
  }
  public void sendrecv(DcerpcMessage msg) throws DcerpcException, IOException {
origin: org.codelibs/jcifs

/**
 * 
 * @return result exception, if the call failed
 */
public DcerpcException getResult () {
  if ( this.result != 0 )
    return new DcerpcException(this.result);
  return null;
}
origin: com.jaeksoft/jcifs-krb5-jdk7

DcerpcException(int error) {
  super(getMessageByDcerpcError(error));
  this.error = error;
}
public DcerpcException(String msg) {
origin: AgNO3/jcifs-ng

  @Override
  public String toString () {
    return bin_to_hex(this.time_low, 8) + '-' + bin_to_hex(this.time_mid, 4) + '-' + bin_to_hex(this.time_hi_and_version, 4) + '-'
        + bin_to_hex(this.clock_seq_hi_and_reserved, 2) + bin_to_hex(this.clock_seq_low, 2) + '-' + bin_to_hex(this.node[ 0 ], 2)
        + bin_to_hex(this.node[ 1 ], 2) + bin_to_hex(this.node[ 2 ], 2) + bin_to_hex(this.node[ 3 ], 2) + bin_to_hex(this.node[ 4 ], 2)
        + bin_to_hex(this.node[ 5 ], 2);
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(getResultMessage(result));
  return null;
}
origin: org.samba.jcifs/jcifs

  public void bind() throws DcerpcException, IOException {
synchronized (this) {
    try {
      state = 1;
      DcerpcMessage bind = new DcerpcBind(binding, this);
      sendrecv(bind);
    } catch (IOException ioe) {
      state = 0;
      throw ioe;
    }
}
  }
  public void sendrecv(DcerpcMessage msg) throws DcerpcException, IOException {
origin: jcifs/jcifs

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(result);
  return null;
}
origin: jcifs/jcifs

DcerpcException(int error) {
  super(getMessageByDcerpcError(error));
  this.error = error;
}
public DcerpcException(String msg) {
origin: org.codelibs/jcifs

@Override
public DcerpcException getResult () {
  if ( this.result != 0 )
    return new DcerpcException(getResultMessage(this.result));
  return null;
}
origin: kohsuke/jcifs

  public void bind() throws DcerpcException, IOException {
synchronized (this) {
    try {
      state = 1;
      DcerpcMessage bind = new DcerpcBind(binding, this);
      sendrecv(bind);
    } catch (IOException ioe) {
      state = 0;
      throw ioe;
    }
}
  }
  public void sendrecv(DcerpcMessage msg) throws DcerpcException, IOException {
origin: com.jaeksoft/jcifs-krb5-jdk7

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(result);
  return null;
}
origin: AgNO3/jcifs-ng

@Override
public DcerpcException getResult () {
  if ( this.result != 0 )
    return new DcerpcException(getResultMessage(this.result));
  return null;
}
origin: kohsuke/jcifs

public DcerpcException getResult() {
  if (result != 0)
    return new DcerpcException(getResultMessage(result));
  return null;
}
jcifs.dcerpc

Most used classes

  • DcerpcBind
  • DcerpcBinding
  • DcerpcException
  • DcerpcHandle
  • DcerpcMessage
  • DcerpcSecurityProvider,
  • UUID,
  • UnicodeString,
  • LsaPolicyHandle,
  • LsarSidArrayX,
  • MsrpcDfsRootEnum,
  • MsrpcEnumerateAliasesInDomain,
  • MsrpcGetMembersInAlias,
  • MsrpcLookupSids,
  • MsrpcLsarOpenPolicy2,
  • MsrpcQueryInformationPolicy,
  • MsrpcSamrConnect2,
  • MsrpcSamrConnect4,
  • MsrpcSamrOpenAlias
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now