public class TcpStorageRequest extends Object implements com.ibm.narpc.NaRPCMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpStorageRequest.ReadRequest |
static class |
TcpStorageRequest.WriteRequest |
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
static int |
HEADER_SIZE |
| Constructor and Description |
|---|
TcpStorageRequest() |
TcpStorageRequest(TcpStorageRequest.ReadRequest readRequest) |
TcpStorageRequest(TcpStorageRequest.WriteRequest writeRequest) |
| Modifier and Type | Method and Description |
|---|---|
TcpStorageRequest.ReadRequest |
getReadRequest() |
TcpStorageRequest.WriteRequest |
getWriteRequest() |
int |
size() |
int |
type() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static final int HEADER_SIZE
public static final int CSIZE
public TcpStorageRequest()
public TcpStorageRequest(TcpStorageRequest.WriteRequest writeRequest)
public TcpStorageRequest(TcpStorageRequest.ReadRequest readRequest)
public int size()
public int type()
public void update(ByteBuffer buffer) throws IOException
update in interface com.ibm.narpc.NaRPCMessageIOExceptionpublic int write(ByteBuffer buffer) throws IOException
write in interface com.ibm.narpc.NaRPCMessageIOExceptionpublic TcpStorageRequest.WriteRequest getWriteRequest()
public TcpStorageRequest.ReadRequest getReadRequest()
Copyright © 2018 The Apache Software Foundation. All rights reserved.