Class AbstractRouteExecutor<TPayload extends AbstractNBTSerializable,TSuccess extends AbstractNBTSerializable,TFail extends AbstractNBTSerializable>
java.lang.Object
me.ranzeplay.messagechain.routing.AbstractRouteExecutor<TPayload,TSuccess,TFail>
- Type Parameters:
TPayload- Payload type that matches the type of `RouteHandler`.TSuccess- Returning data type when succeeded in processing data, should match the type of `RouteHandler`.
- All Implemented Interfaces:
Function<RouteRequestContext<TPayload>,RouteResponse<TSuccess, TFail>>
- Direct Known Subclasses:
ExampleRouteTest
public abstract class AbstractRouteExecutor<TPayload extends AbstractNBTSerializable,TSuccess extends AbstractNBTSerializable,TFail extends AbstractNBTSerializable>
extends Object
implements Function<RouteRequestContext<TPayload>,RouteResponse<TSuccess,TFail>>
-
Constructor Details
-
AbstractRouteExecutor
public AbstractRouteExecutor()
-