FileDocCategorySizeDatePackage
TransTransactNamedPipe.javaAPI DocJCIFS 1.3.17 API2636Tue Oct 18 15:26:24 BST 2011jcifs.smb

TransTransactNamedPipe

public class TransTransactNamedPipe extends SmbComTransaction

Fields Summary
private byte[]
pipeData
private int
pipeFid
private int
pipeDataOff
private int
pipeDataLen
Constructors Summary
TransTransactNamedPipe(int fid, byte[] data, int off, int len)

        pipeFid = fid;
        pipeData = data;
        pipeDataOff = off;
        pipeDataLen = len;
        command = SMB_COM_TRANSACTION;
        subCommand = TRANS_TRANSACT_NAMED_PIPE;
        maxParameterCount = 0;
        maxDataCount = 0xFFFF;
        maxSetupCount = (byte)0x00;
        setupCount = 2;
        name = "\\PIPE\\";
    
Methods Summary
intreadDataWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
intreadParametersWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
intreadSetupWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
public java.lang.StringtoString()

        return new String( "TransTransactNamedPipe[" + super.toString() +
            ",pipeFid=" + pipeFid + "]" );
    
intwriteDataWireFormat(byte[] dst, int dstIndex)

        if(( dst.length - dstIndex ) < pipeDataLen ) {
            if( log.level >= 3 )
                log.println( "TransTransactNamedPipe data too long for buffer" );
            return 0;
        }
        System.arraycopy( pipeData, pipeDataOff, dst, dstIndex, pipeDataLen );
        return pipeDataLen;
    
intwriteParametersWireFormat(byte[] dst, int dstIndex)

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

        dst[dstIndex++] = subCommand;
        dst[dstIndex++] = (byte)0x00;
        writeInt2( pipeFid, dst, dstIndex );
        dstIndex += 2;
        return 4;