Class ClientSerializerRegistrationsService
java.lang.Object
com.jme3.network.service.AbstractService<ClientServiceManager>
com.jme3.network.service.AbstractClientService
com.jme3.network.service.serializer.ClientSerializerRegistrationsService
- All Implemented Interfaces:
MessageListener<Client>, ClientService, Service<ClientServiceManager>
public class ClientSerializerRegistrationsService
extends AbstractClientService
implements MessageListener<Client>
Receives serializer registration updates from the server and applies them on the client.
- Author:
- Paul Speed
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the client-side serializer registration service. -
Method Summary
Modifier and TypeMethodDescriptionvoidmessageReceived(Client source, Message m) Called when a message is received from a source.protected voidonInitialize(ClientServiceManager serviceManager) Called during initialize() for the subclass to perform implementation specific initialization.Methods inherited from class AbstractClientService
getClientMethods inherited from class AbstractService
getService, getServiceManager, initialize, start, stop, terminate, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ClientService
initialize, start, stop, terminate
-
Constructor Details
-
ClientSerializerRegistrationsService
public ClientSerializerRegistrationsService()Creates the client-side serializer registration service.
-
-
Method Details
-
onInitialize
Description copied from class:AbstractServiceCalled during initialize() for the subclass to perform implementation specific initialization.- Specified by:
onInitializein classAbstractService<ClientServiceManager>- Parameters:
serviceManager- the service manager initializing this service
-
messageReceived
Description copied from interface:MessageListenerCalled when a message is received from a source.- Specified by:
messageReceivedin interfaceMessageListener<Client>- Parameters:
source- the connection or endpoint that delivered the messagem- the received message
-