Tabnine Logo
jcifs.netbios
Code IndexAdd Tabnine to your IDE (free)

How to use jcifs.netbios

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

origin: jcifs/jcifs

/**
 * This is really just for {@link jcifs.UniAddress}. It does
 * not throw an {@link java.net.UnknownHostException} because this
 * is queried frequently and exceptions would be rather costly to
 * throw on a regular basis here.
 */
public synchronized static NbtAddress getByName( String host ) {
  return getByName( new Name( host, 0x20, null ));
}
origin: jcifs/jcifs

public static NbtAddress[] getAllByName( String host,
                  int type,
                  String scope,
                  InetAddress svr )
                  throws UnknownHostException {
  return CLIENT.getAllByName( new Name( host, type, scope ), svr );
}
origin: org.codelibs/jcifs

int readQuestionSectionWireFormat ( byte[] src, int srcIndex ) {
  int start = srcIndex;
  srcIndex += this.questionName.readWireFormat(src, srcIndex);
  this.questionType = readInt2(src, srcIndex);
  srcIndex += 2;
  this.questionClass = readInt2(src, srcIndex);
  srcIndex += 2;
  return srcIndex - start;
}
origin: org.samba.jcifs/jcifs

int writeQuestionSectionWireFormat( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += questionName.writeWireFormat( dst, dstIndex );
  writeInt2( questionType, dst, dstIndex );
  dstIndex += 2;
  writeInt2( questionClass, dst, dstIndex );
  dstIndex += 2;
  return dstIndex - start;
}
int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
origin: jcifs/jcifs

/** 
 * Returns the {@link java.lang.String} representaion of this address.
 */ 

  public String toString() {
    return hostName.toString() + "/" + getHostAddress();
  }
}
origin: org.codelibs/jcifs

int writeQuestionSectionWireFormat ( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += this.questionName.writeWireFormat(dst, dstIndex);
  writeInt2(this.questionType, dst, dstIndex);
  dstIndex += 2;
  writeInt2(this.questionClass, dst, dstIndex);
  dstIndex += 2;
  return dstIndex - start;
}
origin: org.samba.jcifs/jcifs

/** 
 * Returns the {@link java.lang.String} representaion of this address.
 */ 

  public String toString() {
    return hostName.toString() + "/" + getHostAddress();
  }
}
origin: org.samba.jcifs/jcifs

int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
  int start = srcIndex;
  srcIndex += questionName.readWireFormat( src, srcIndex );
  questionType = readInt2( src, srcIndex );
  srcIndex += 2;
  questionClass = readInt2( src, srcIndex );
  srcIndex += 2;
  return srcIndex - start;
}
int writeResourceRecordWireFormat( byte[] dst, int dstIndex ) {
origin: com.jaeksoft/jcifs-krb5-jdk7

/**
 * This is really just for {@link jcifs.UniAddress}. It does
 * not throw an {@link java.net.UnknownHostException} because this
 * is queried frequently and exceptions would be rather costly to
 * throw on a regular basis here.
 */
public synchronized static NbtAddress getByName( String host ) {
  return getByName( new Name( host, 0x20, null ));
}
origin: org.samba.jcifs/jcifs

public static NbtAddress[] getAllByName( String host,
                  int type,
                  String scope,
                  InetAddress svr )
                  throws UnknownHostException {
  return CLIENT.getAllByName( new Name( host, type, scope ), svr );
}
origin: com.jaeksoft/jcifs-krb5-jdk7

int writeQuestionSectionWireFormat( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += questionName.writeWireFormat( dst, dstIndex );
  writeInt2( questionType, dst, dstIndex );
  dstIndex += 2;
  writeInt2( questionClass, dst, dstIndex );
  dstIndex += 2;
  return dstIndex - start;
}
int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
origin: org.codelibs/jcifs

  /**
   * Returns the {@link java.lang.String} representaion of this address.
   */

  @Override
  public String toString () {
    return this.hostName.toString() + "/" + getHostAddress();
  }
}
origin: jcifs/jcifs

int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
  int start = srcIndex;
  srcIndex += questionName.readWireFormat( src, srcIndex );
  questionType = readInt2( src, srcIndex );
  srcIndex += 2;
  questionClass = readInt2( src, srcIndex );
  srcIndex += 2;
  return srcIndex - start;
}
int writeResourceRecordWireFormat( byte[] dst, int dstIndex ) {
origin: org.samba.jcifs/jcifs

/**
 * This is really just for {@link jcifs.UniAddress}. It does
 * not throw an {@link java.net.UnknownHostException} because this
 * is queried frequently and exceptions would be rather costly to
 * throw on a regular basis here.
 */
public synchronized static NbtAddress getByName( String host ) {
  return getByName( new Name( host, 0x20, null ));
}
origin: com.jaeksoft/jcifs-krb5-jdk7

public static NbtAddress[] getAllByName( String host,
                  int type,
                  String scope,
                  InetAddress svr )
                  throws UnknownHostException {
  return CLIENT.getAllByName( new Name( host, type, scope ), svr );
}
origin: jcifs/jcifs

int writeQuestionSectionWireFormat( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += questionName.writeWireFormat( dst, dstIndex );
  writeInt2( questionType, dst, dstIndex );
  dstIndex += 2;
  writeInt2( questionClass, dst, dstIndex );
  dstIndex += 2;
  return dstIndex - start;
}
int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
origin: com.jaeksoft/jcifs-krb5-jdk7

/** 
 * Returns the {@link java.lang.String} representaion of this address.
 */ 

  public String toString() {
    return hostName.toString() + "/" + getHostAddress();
  }
}
origin: AgNO3/jcifs-ng

int readQuestionSectionWireFormat ( byte[] src, int srcIndex ) {
  int start = srcIndex;
  srcIndex += this.questionName.readWireFormat(src, srcIndex);
  this.questionType = readInt2(src, srcIndex);
  srcIndex += 2;
  this.questionClass = readInt2(src, srcIndex);
  srcIndex += 2;
  return srcIndex - start;
}
origin: AgNO3/jcifs-ng

int writeQuestionSectionWireFormat ( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += this.questionName.writeWireFormat(dst, dstIndex);
  writeInt2(this.questionType, dst, dstIndex);
  dstIndex += 2;
  writeInt2(this.questionClass, dst, dstIndex);
  dstIndex += 2;
  return dstIndex - start;
}
origin: kohsuke/jcifs

int writeQuestionSectionWireFormat( byte[] dst, int dstIndex ) {
  int start = dstIndex;
  dstIndex += questionName.writeWireFormat( dst, dstIndex );
  writeInt2( questionType, dst, dstIndex );
  dstIndex += 2;
  writeInt2( questionClass, dst, dstIndex );
  dstIndex += 2;
  return dstIndex - start;
}
int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
jcifs.netbios

Most used classes

  • NbtAddress
    This class represents a NetBIOS over TCP/IP address. Under normal conditions, users of jCIFS need no
  • Lmhosts
  • Name
  • NameQueryRequest
  • NameQueryResponse
  • NbtException,
  • NodeStatusRequest,
  • NodeStatusResponse,
  • SessionRequestPacket,
  • SessionRetargetResponsePacket,
  • SessionServicePacket,
  • NameServiceClient,
  • NbtAddress$CacheEntry,
  • NbtSocket,
  • SocketInputStream,
  • SocketOutputStream,
  • NameServiceClientImpl$CacheEntry,
  • NameServiceClientImpl$QueryThread,
  • NameServiceClientImpl$Sem
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