FileDocCategorySizeDatePackage
TransCallNamedPipe.javaAPI DocJCIFS 1.3.17 API2691Tue Oct 18 15:26:24 BST 2011jcifs.smb

TransCallNamedPipe

public class TransCallNamedPipe extends SmbComTransaction

Fields Summary
private byte[]
pipeData
private int
pipeDataOff
private int
pipeDataLen
Constructors Summary
TransCallNamedPipe(String pipeName, byte[] data, int off, int len)

        name = pipeName;
        pipeData = data;
        pipeDataOff = off;
        pipeDataLen = len;
        command = SMB_COM_TRANSACTION;
        subCommand = TRANS_CALL_NAMED_PIPE;
        timeout = 0xFFFFFFFF;
        maxParameterCount = 0;
        maxDataCount = 0xFFFF;
        maxSetupCount = (byte)0x00;
        setupCount = 2;
    
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( "TransCallNamedPipe[" + super.toString() +
            ",pipeName=" + name + "]" );
    
intwriteDataWireFormat(byte[] dst, int dstIndex)

        if(( dst.length - dstIndex ) < pipeDataLen ) {
            if( log.level >= 3 )
                log.println( "TransCallNamedPipe 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;
        // this says "Transaction priority" in netmon
        dst[dstIndex++] = (byte)0x00; // no FID
        dst[dstIndex++] = (byte)0x00;
        return 4;