private final int bodySize;
private final int id;
private final int holdId;
+ private final int estimatedObjectSize;
private final byte opCode0;
private final byte opCode1;
this.callback = callback;
this.bodySize = 0;
this.isDumpLog = isDumpLog;
+ this.estimatedObjectSize = -1;
this.id = id;
this.holdId = holdId;
this.callback = callback;
this.bodySize = bodySize;
this.isDumpLog = isDumpLog;
+ this.estimatedObjectSize = -1;
this.id = id;
this.holdId = holdId;
this.callback = callback;
this.bodySize = bodySize;
this.isDumpLog = isDumpLog;
+ this.estimatedObjectSize = -1;
this.id = id;
this.holdId = holdId;
this.callback = callback;
this.bodySize = bodySize;
this.isDumpLog = isDumpLog;
+ this.estimatedObjectSize = -1;
this.id = id;
this.holdId = holdId;
this.callback = callback;
this.bodySize = bodySize;
this.isDumpLog = isDumpLog;
+ this.estimatedObjectSize = -1;
this.id = id;
this.holdId = holdId;
}
@Override
+ public int estimatedReceiveDataSize()
+ {
+ return (estimatedObjectSize);
+ }
+
+ @Override
public byte[] commandBody()
{
if (bodySize == 2)