public interface PackableMethod
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PackableMethod.Pack |
static interface |
PackableMethod.UnPack |
| Modifier and Type | Method and Description |
|---|---|
PackableMethod.Pack |
getRequestPack() |
PackableMethod.UnPack |
getRequestUnpack() |
PackableMethod.Pack |
getResponsePack() |
PackableMethod.UnPack |
getResponseUnpack() |
default byte[] |
packRequest(Object request) |
default byte[] |
packResponse(Object response) |
default Object |
parseRequest(byte[] data) |
default Object |
parseResponse(byte[] data) |
default Object parseRequest(byte[] data) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptiondefault Object parseResponse(byte[] data) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptiondefault byte[] packRequest(Object request) throws IOException
IOExceptiondefault byte[] packResponse(Object response) throws IOException
IOExceptionPackableMethod.Pack getRequestPack()
PackableMethod.Pack getResponsePack()
PackableMethod.UnPack getResponseUnpack()
PackableMethod.UnPack getRequestUnpack()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.