public interface PProcessor extends PServiceCallHandler
| Modifier and Type | Method and Description |
|---|---|
PService |
getDescriptor()
Get the descriptor for the given service.
|
default <Request extends PMessage<Request,RequestField>,Response extends PMessage<Response,ResponseField>,RequestField extends PField,ResponseField extends PField> |
handleCall(PServiceCall<Request,RequestField> call)
Handle a service call.
|
handleCall@Nonnull PService getDescriptor()
default <Request extends PMessage<Request,RequestField>,Response extends PMessage<Response,ResponseField>,RequestField extends PField,ResponseField extends PField> PServiceCall<Response,ResponseField> handleCall(PServiceCall<Request,RequestField> call) throws IOException
Request - Request type.Response - Response type.RequestField - Request type.ResponseField - Response type.call - The request call.IOException - On read or write failure.SerializerException - On serialization problems.Copyright © 2015–2018 morimekta.net. All rights reserved.