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 Details

    • AbstractClientService

      protected AbstractClientService()
  • Method Details

    • getClient

      protected Client getClient()
      Returns the client for this client service or null if the service is not yet attached.