TransTransactNamedPipepublic 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 |
---|
int | readDataWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
| int | readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
| int | readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
| public java.lang.String | toString()
return new String( "TransTransactNamedPipe[" + super.toString() +
",pipeFid=" + pipeFid + "]" );
| int | writeDataWireFormat(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;
| int | writeParametersWireFormat(byte[] dst, int dstIndex)
return 0;
| int | writeSetupWireFormat(byte[] dst, int dstIndex)
dst[dstIndex++] = subCommand;
dst[dstIndex++] = (byte)0x00;
writeInt2( pipeFid, dst, dstIndex );
dstIndex += 2;
return 4;
|
|