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>,Response extends PMessage<Response>> |
handleCall(PServiceCall<Request> call)
Handle a service call.
|
handleCall@Nonnull PService getDescriptor()
default <Request extends PMessage<Request>,Response extends PMessage<Response>> PServiceCall<Response> handleCall(PServiceCall<Request> call) throws IOException
Request - Request type.Response - Response type.call - The request call.IOException - On read or write failure.SerializerException - On serialization problems.Copyright © 2015–2020 morimekta.net. All rights reserved.