Package com.jme3.network.service
Interface ClientService
- All Superinterfaces:
Service<ClientServiceManager>
- All Known Implementing Classes:
AbstractClientService,ClientSerializerRegistrationsService,RmiClientService,RpcClientService
Interface implemented by Client-side services that augment
a network Client's functionality.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(ClientServiceManager serviceManager) Called when the service is first attached to the service manager.voidstart()Called when the service manager is started or if the service is added to an already started service manager.voidstop()Called when the service is shutting down.voidterminate(ClientServiceManager serviceManager) The service manager is fully shutting down.
-
Method Details
-
initialize
Called when the service is first attached to the service manager.- Specified by:
initializein interfaceService<ClientServiceManager>
-
start
void start()Called when the service manager is started or if the service is added to an already started service manager.- Specified by:
startin interfaceService<ClientServiceManager>
-
stop
void stop()Called when the service is shutting down. All services are stopped and any service manager resources are closed before the services are terminated.- Specified by:
stopin interfaceService<ClientServiceManager>
-
terminate
The service manager is fully shutting down. All services have been stopped and related connections closed.- Specified by:
terminatein interfaceService<ClientServiceManager>
-