FileDocCategorySizeDatePackage
SessionRetargetResponsePacket.javaAPI DocJCIFS 1.3.17 API1916Tue Oct 18 15:26:24 BST 2011jcifs.netbios

SessionRetargetResponsePacket

public class SessionRetargetResponsePacket extends SessionServicePacket

Fields Summary
private NbtAddress
retargetAddress
private int
retargetPort
Constructors Summary
SessionRetargetResponsePacket()

        type = SESSION_RETARGET_RESPONSE;
        length = 6;
    
Methods Summary
intreadTrailerWireFormat(java.io.InputStream in, byte[] buffer, int bufferIndex)

        if( in.read( buffer, bufferIndex, length ) != length ) {
            throw new IOException( "unexpected EOF reading netbios retarget session response" );
        }
        int addr = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE );
        retargetPort = readInt2( buffer, bufferIndex );
        return length;
    
intwriteTrailerWireFormat(byte[] dst, int dstIndex)

        return 0;