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 TypeMethodDescriptionvoid
initialize
(ClientServiceManager serviceManager) Called when the service is first attached to the service manager.void
start()
Called when the service manager is started or if the service is added to an already started service manager.void
stop()
Called when the service is shutting down.void
terminate
(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:
initialize
in 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:
start
in 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:
stop
in interfaceService<ClientServiceManager>
-
terminate
The service manager is fully shutting down. All services have been stopped and related connections closed.- Specified by:
terminate
in interfaceService<ClientServiceManager>
-