public class TcpStorageResponse extends Object implements com.ibm.narpc.NaRPCMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpStorageResponse.ReadResponse |
static class |
TcpStorageResponse.WriteResponse |
| Modifier and Type | Field and Description |
|---|---|
static int |
CSIZE |
static int |
HEADER_SIZE |
| Constructor and Description |
|---|
TcpStorageResponse(int error) |
TcpStorageResponse(TcpStorageResponse.ReadResponse readResponse) |
TcpStorageResponse(TcpStorageResponse.WriteResponse writeResponse) |
| Modifier and Type | Method and Description |
|---|---|
int |
size() |
void |
update(ByteBuffer buffer) |
int |
write(ByteBuffer buffer) |
public static final int HEADER_SIZE
public static final int CSIZE
public TcpStorageResponse(TcpStorageResponse.WriteResponse writeResponse)
public TcpStorageResponse(TcpStorageResponse.ReadResponse readResponse)
public TcpStorageResponse(int error)
public int size()
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.NaRPCMessageIOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.