FileDocCategorySizeDatePackage
NameQueryResponse.javaAPI DocJCIFS 1.3.17 API2071Tue Oct 18 15:26:24 BST 2011jcifs.netbios

NameQueryResponse

public class NameQueryResponse extends NameServicePacket

Fields Summary
Constructors Summary
NameQueryResponse()

        recordName = new Name();
    
Methods Summary
intreadBodyWireFormat(byte[] src, int srcIndex)

        return readResourceRecordWireFormat( src, srcIndex );
    
intreadRDataWireFormat(byte[] src, int srcIndex)

        if( resultCode != 0 || opCode != QUERY ) {
            return 0;
        }
        boolean groupName = (( src[srcIndex] & 0x80 ) == 0x80 ) ? true : false;
        int nodeType = ( src[srcIndex] & 0x60 ) >> 5;
        srcIndex += 2;
        int address = readInt4( src, srcIndex );
        if( address != 0 ) {
            addrEntry[addrIndex] = new NbtAddress( recordName, address, groupName, nodeType );
        } else {
            addrEntry[addrIndex] = null;
        }

        return 6;
    
public java.lang.StringtoString()

        return new String( "NameQueryResponse[" +
            super.toString() +
            ",addrEntry=" + addrEntry + "]" );
    
intwriteBodyWireFormat(byte[] dst, int dstIndex)

        return 0;
    
intwriteRDataWireFormat(byte[] dst, int dstIndex)

        return 0;