public class ExportableHandlerFactory extends Object implements ClientInterfaceHandlerFactory<Exportable>
Exportable
interface.
This is a special handler because Exportable is a fake client side interface.
Modifier and Type | Field and Description |
---|---|
static HandlerVersion |
VERSION |
Constructor and Description |
---|
ExportableHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
Exportable |
createClientHandler(Exportable proxy,
ClientSideToolkit toolkit)
Create a thing that handles communication
with the server for an Interface..
|
HandlerVersion |
getVersion()
The version of this handler.
|
Class<Exportable> |
interfaceClass()
Provide the interface class this is the information
about.
|
public static final HandlerVersion VERSION
public Class<Exportable> interfaceClass()
ClientInterfaceHandlerFactory
interfaceClass
in interface ClientInterfaceHandlerFactory<Exportable>
public HandlerVersion getVersion()
ClientInterfaceHandlerFactory
getVersion
in interface ClientInterfaceHandlerFactory<Exportable>
public Exportable createClientHandler(Exportable proxy, ClientSideToolkit toolkit)
ClientInterfaceHandlerFactory
createClientHandler
in interface ClientInterfaceHandlerFactory<Exportable>
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.