Package com.jme3.network.service
Class AbstractClientService
java.lang.Object
com.jme3.network.service.AbstractService<ClientServiceManager>
com.jme3.network.service.AbstractClientService
- All Implemented Interfaces:
ClientService
,Service<ClientServiceManager>
- Direct Known Subclasses:
ClientSerializerRegistrationsService
,RmiClientService
,RpcClientService
public abstract class AbstractClientService
extends AbstractService<ClientServiceManager>
implements ClientService
Convenient base class for ClientServices providing some default ClientService
interface implementations as well as a few convenience methods
such as getServiceManager() and getService(type). Subclasses
must at least override the onInitialize() method to handle
service initialization.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.jme3.network.service.AbstractService
getService, getServiceManager, initialize, onInitialize, start, stop, terminate, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.jme3.network.service.ClientService
initialize, start, stop, terminate
-
Constructor Details
-
AbstractClientService
protected AbstractClientService()
-
-
Method Details
-
getClient
Returns the client for this client service or null if the service is not yet attached.
-