T
- The Type of the interface this will creating a handler for.public interface ClientInterfaceHandlerFactory<T>
Modifier and Type | Method and Description |
---|---|
default T |
createClientHandler(T proxy,
ClientSideToolkit toolkit)
Create a thing that handles communication
with the server for an Interface..
|
default T |
createClientHandler(T proxy,
ClientSideToolkit toolkit,
Initialisation<?> initialisation) |
HandlerVersion |
getVersion()
The version of this handler.
|
java.lang.Class<T> |
interfaceClass()
Provide the interface class this is the information
about.
|
HandlerVersion getVersion()
java.lang.Class<T> interfaceClass()
default T createClientHandler(T proxy, ClientSideToolkit toolkit)
proxy
- The client side proxy the invocations are coming from. Most of the
time this will be ignored but it's useful as the source for events.toolkit
- Tools to help the handler do it's job.default T createClientHandler(T proxy, ClientSideToolkit toolkit, Initialisation<?> initialisation)