Uses of Interface
com.jme3.network.MessageListener
Packages that use MessageListener
Package
Description
-
Uses of MessageListener in com.jme3.network
Methods in com.jme3.network with parameters of type MessageListenerModifier and TypeMethodDescriptionvoidClient.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.voidServer.addMessageListener(MessageListener<? super HostedConnection> listener) Adds a listener that will be notified when any message or object is received from one of the clients.voidServer.addMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) Adds a listener that will be notified when messages of the specified types are received from one of the clients.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.voidServer.removeMessageListener(MessageListener<? super HostedConnection> listener) Removes a previously registered wildcard listener.voidServer.removeMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) Removes a previously registered type-specific listener from the specified types. -
Uses of MessageListener in com.jme3.network.base
Classes in com.jme3.network.base that implement MessageListenerModifier and TypeClassDescriptionprotected classBridges connector callbacks back into this client instance.protected classBridges kernel adapter callbacks back into the server.classKeeps track of message listeners registered to specific types or to any type.Methods in com.jme3.network.base that return types with arguments of type MessageListenerModifier and TypeMethodDescriptionprotected List<MessageListener<? super S>> MessageListenerRegistry.getListeners(Class c, boolean create) Returns the listeners registered for a specific message class.Methods in com.jme3.network.base with parameters of type MessageListenerModifier and TypeMethodDescriptionvoidDefaultClient.addMessageListener(MessageListener<? super Client> listener) voidDefaultClient.addMessageListener(MessageListener<? super Client> listener, Class... classes) voidDefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener) voidDefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) voidMessageListenerRegistry.addMessageListener(MessageListener<? super S> listener) Adds a wildcard listener that receives all messages.voidMessageListenerRegistry.addMessageListener(MessageListener<? super S> listener, Class... classes) Adds a listener for the specified message classes.voidDefaultClient.removeMessageListener(MessageListener<? super Client> listener) voidDefaultClient.removeMessageListener(MessageListener<? super Client> listener, Class... classes) voidDefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener) voidDefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) voidMessageListenerRegistry.removeMessageListener(MessageListener<? super S> listener) Removes a wildcard listener.voidMessageListenerRegistry.removeMessageListener(MessageListener<? super S> listener, Class... classes) Removes a listener from the specified message classes.Constructors in com.jme3.network.base with parameters of type MessageListenerModifierConstructorDescriptionConnectorAdapter(Connector connector, MessageProtocol protocol, MessageListener<Object> dispatcher, ErrorListener<Object> errorHandler, boolean reliable) Creates an adapter for a connector and starts a background writer thread.KernelAdapter(DefaultServer server, Kernel kernel, MessageProtocol protocol, MessageListener<HostedConnection> messageDispatcher, boolean reliable) Creates an adapter for a kernel used byDefaultServer. -
Uses of MessageListener in com.jme3.network.rmi
Classes in com.jme3.network.rmi that implement MessageListenerModifier and TypeClassDescriptionclassHandles client-side RMI message and connection callbacks.classHandles server-side RMI message and connection callbacks. -
Uses of MessageListener in com.jme3.network.service.serializer
Classes in com.jme3.network.service.serializer that implement MessageListenerModifier and TypeClassDescriptionclassReceives serializer registration updates from the server and applies them on the client. -
Uses of MessageListener in com.jme3.network.util
Classes in com.jme3.network.util that implement MessageListenerModifier and TypeClassDescriptionclassAbstractMessageDelegator<S extends MessageConnection>A MessageListener implementation that will forward messages to methods of a delegate object.classObjectMessageDelegator<S extends MessageConnection>A MessageListener implementation that will forward messages to methods of a specified delegate object.classA MessageListener implementation that will forward messages to methods of a delegate specified as a HostedConnection session attribute.