Uses of Interface
com.jme3.network.Client
Packages that use Client
Package
Description
-
Uses of Client in com.jme3.network
Subinterfaces of Client in com.jme3.networkModifier and TypeInterfaceDescriptioninterfaceA Client whose network connection information can be provided post-creation.Classes in com.jme3.network that implement ClientMethods in com.jme3.network that return ClientModifier and TypeMethodDescriptionstatic ClientNetwork.connectToServer(String host, int hostPort) Creates a Client that communicates with the specified host and port using both reliable and fast transports.static ClientNetwork.connectToServer(String host, int hostPort, int remoteUdpPort) Creates a Client that communicates with the specified host and separate TCP and UDP ports using both reliable and fast transports.static ClientNetwork.connectToServer(String gameName, int version, String host, int hostPort) Creates a Client that communicates with the specified host and port using both reliable and fast transports.static ClientNetwork.connectToServer(String gameName, int version, String host, int hostPort, int remoteUdpPort) Creates a Client that communicates with the specified host and separate TCP and UDP ports using both reliable and fast transports.Methods in com.jme3.network with parameters of type ClientModifier and TypeMethodDescriptionvoidClientStateListener.clientConnected(Client c) Called when the specified client is fully connected to the remote server.voidClientStateListener.clientDisconnected(Client c, ClientStateListener.DisconnectInfo info) Called when the client has disconnected from the remote server.Method parameters in com.jme3.network with type arguments of type ClientModifier and TypeMethodDescriptionvoidClient.addErrorListener(ErrorListener<? super Client> listener) Adds a listener that will be notified when any connection errors occur.voidClient.addMessageListener(MessageListener<? super Client> listener) Adds a listener that will be notified when any message or object is received from the server.voidClient.addMessageListener(MessageListener<? super Client> listener, Class... classes) Adds a listener that will be notified when messages of the specified types are received.voidClient.removeErrorListener(ErrorListener<? super Client> listener) Removes a previously registered error listener.voidClient.removeMessageListener(MessageListener<? super Client> listener) Removes a previously registered wildcard listener.voidClient.removeMessageListener(MessageListener<? super Client> listener, Class... classes) Removes a previously registered type-specific listener from the specified types. -
Uses of Client in com.jme3.network.base
Classes in com.jme3.network.base that implement ClientModifier and TypeClassDescriptionclassA default implementation of the Client interface that delegates its network connectivity to a kernel.Connector.Method parameters in com.jme3.network.base with type arguments of type ClientModifier and TypeMethodDescriptionvoidDefaultClient.addErrorListener(ErrorListener<? super Client> listener) voidDefaultClient.addMessageListener(MessageListener<? super Client> listener) voidDefaultClient.addMessageListener(MessageListener<? super Client> listener, Class... classes) voidDefaultClient.removeErrorListener(ErrorListener<? super Client> listener) voidDefaultClient.removeMessageListener(MessageListener<? super Client> listener) voidDefaultClient.removeMessageListener(MessageListener<? super Client> listener, Class... classes) -
Uses of Client in com.jme3.network.rmi
Methods in com.jme3.network.rmi with parameters of type ClientModifier and TypeMethodDescriptionvoidObjectStore.ClientEventHandler.clientConnected(Client c) voidObjectStore.ClientEventHandler.clientDisconnected(Client c, ClientStateListener.DisconnectInfo info) Constructors in com.jme3.network.rmi with parameters of type Client -
Uses of Client in com.jme3.network.service
Methods in com.jme3.network.service that return ClientModifier and TypeMethodDescriptionprotected ClientAbstractClientService.getClient()Returns the client for this client service or null if the service is not yet attached.ClientServiceManager.getClient()Returns the network Client associated with this ClientServiceManager.Constructors in com.jme3.network.service with parameters of type ClientModifierConstructorDescriptionClientServiceManager(Client client) Creates a new ClientServiceManager for the specified network Client. -
Uses of Client in com.jme3.network.service.serializer
Methods in com.jme3.network.service.serializer with parameters of type ClientModifier and TypeMethodDescriptionvoidClientSerializerRegistrationsService.messageReceived(Client source, Message m)