Uses of Interface
com.jme3.network.HostedConnection
Packages that use HostedConnection
Package
Description
-
Uses of HostedConnection in com.jme3.network
Methods in com.jme3.network that return HostedConnectionModifier and TypeMethodDescriptionServer.getConnection(int id) Retrieves a hosted connection by ID.Methods in com.jme3.network that return types with arguments of type HostedConnectionModifier and TypeMethodDescriptionServer.getConnections()Retrieves a read-only collection of all currently connected connections.Methods in com.jme3.network with parameters of type HostedConnectionModifier and TypeMethodDescriptionvoidConnectionListener.connectionAdded(Server server, HostedConnection conn) Called when a connection has been added to the specified server and is fully setup.voidConnectionListener.connectionRemoved(Server server, HostedConnection conn) Called when a connection has been removed from the specified server.Method parameters in com.jme3.network with type arguments of type HostedConnectionModifier and TypeMethodDescriptionvoidServer.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.voidServer.broadcast(int channel, Filter<? super HostedConnection> filter, Message message) Sends the specified message over the specified alternate channel to all connected clients that match the filter.voidServer.broadcast(Filter<? super HostedConnection> filter, Message message) Sends the specified message to all connected clients that match the filter.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 HostedConnection in com.jme3.network.base
Classes in com.jme3.network.base that implement HostedConnectionMethods in com.jme3.network.base that return HostedConnectionModifier and TypeMethodDescriptionDefaultServer.getConnection(int id) protected HostedConnectionDefaultServer.getConnection(Endpoint endpoint) protected HostedConnectionKernelAdapter.getConnection(Endpoint p) Methods in com.jme3.network.base that return types with arguments of type HostedConnectionMethods in com.jme3.network.base with parameters of type HostedConnectionModifier and TypeMethodDescriptionprotected voidDefaultServer.dispatch(HostedConnection source, Message m) protected voidDefaultServer.fireConnectionAdded(HostedConnection conn) protected voidDefaultServer.fireConnectionRemoved(HostedConnection conn) voidDefaultServer.Redispatch.messageReceived(HostedConnection source, Message m) Method parameters in com.jme3.network.base with type arguments of type HostedConnectionModifier and TypeMethodDescriptionvoidDefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener) voidDefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) voidDefaultServer.broadcast(int channel, Filter<? super HostedConnection> filter, Message message) voidDefaultServer.broadcast(Filter<? super HostedConnection> filter, Message message) voidDefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener) voidDefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener, Class... classes) Constructor parameters in com.jme3.network.base with type arguments of type HostedConnectionModifierConstructorDescriptionFilterAdapter(Filter<? super HostedConnection> delegate) KernelAdapter(DefaultServer server, Kernel kernel, MessageProtocol protocol, MessageListener<HostedConnection> messageDispatcher, boolean reliable) -
Uses of HostedConnection in com.jme3.network.rmi
Methods in com.jme3.network.rmi with parameters of type HostedConnectionModifier and TypeMethodDescriptionvoidObjectStore.ServerEventHandler.connectionAdded(Server server, HostedConnection conn) voidObjectStore.ServerEventHandler.connectionRemoved(Server server, HostedConnection conn) voidObjectStore.ServerEventHandler.messageReceived(HostedConnection source, Message m) Constructors in com.jme3.network.rmi with parameters of type HostedConnection -
Uses of HostedConnection in com.jme3.network.service
Methods in com.jme3.network.service with parameters of type HostedConnectionModifier and TypeMethodDescriptionprotected voidHostedServiceManager.addConnection(HostedConnection hc) Called internally when a new connection has been added so that the services can be notified.voidAbstractHostedConnectionService.connectionAdded(Server server, HostedConnection hc) Called internally when a new connection is detected for the server.voidAbstractHostedService.connectionAdded(Server server, HostedConnection hc) Default implementation does nothing.voidHostedServiceManager.ConnectionObserver.connectionAdded(Server server, HostedConnection hc) voidAbstractHostedConnectionService.connectionRemoved(Server server, HostedConnection hc) Called internally when an existing connection is leaving the server.voidAbstractHostedService.connectionRemoved(Server server, HostedConnection hc) Default implementation does nothing.voidHostedServiceManager.ConnectionObserver.connectionRemoved(Server server, HostedConnection hc) protected voidHostedServiceManager.removeConnection(HostedConnection hc) Called internally when a connection has been removed so that the services can be notified.abstract voidAbstractHostedConnectionService.startHostingOnConnection(HostedConnection hc) Performs implementation specific connection hosting setup.abstract voidAbstractHostedConnectionService.stopHostingOnConnection(HostedConnection hc) Performs implementation specific connection tear-down. -
Uses of HostedConnection in com.jme3.network.service.rmi
Methods in com.jme3.network.service.rmi that return HostedConnectionModifier and TypeMethodDescriptionstatic HostedConnectionRmiContext.getRmiConnection()Returns the HostedConnection that is responsible for any RMI-related calls on this thread.Methods in com.jme3.network.service.rmi with parameters of type HostedConnectionModifier and TypeMethodDescriptionvoidRmiHostedService.connectionAdded(Server server, HostedConnection hc) Called internally when a new connection is detected for the server.voidRmiHostedService.connectionRemoved(Server server, HostedConnection hc) Called internally when an existing connection is leaving the server.RmiHostedService.getRmiRegistry(HostedConnection hc) Returns the RMI registry for the specific HostedConnection.voidRmiHostedService.startHostingOnConnection(HostedConnection hc) Sets up RMI hosting services for the hosted connection allowing getRmiRegistry() to return a valid RmiRegistry object.voidRmiHostedService.stopHostingOnConnection(HostedConnection hc) Removes any RMI hosting services associated with the specified connection.Constructors in com.jme3.network.service.rmi with parameters of type HostedConnectionModifierConstructorDescriptionRmiRegistry(HostedConnection context, RpcConnection rpc, short rmiId, byte defaultChannel) -
Uses of HostedConnection in com.jme3.network.service.rpc
Methods in com.jme3.network.service.rpc with parameters of type HostedConnectionModifier and TypeMethodDescriptionRpcHostedService.getRpcConnection(HostedConnection hc) Retrieves the RpcConnection for the specified HostedConnection if that HostedConnection has had RPC services started using startHostingOnConnection() (or via autohosting).voidRpcHostedService.startHostingOnConnection(HostedConnection hc) Sets up RPC hosting services for the hosted connection allowing getRpcConnection() to return a valid RPC connection object.voidRpcHostedService.stopHostingOnConnection(HostedConnection hc) Removes any RPC hosting services associated with the specified connection. -
Uses of HostedConnection in com.jme3.network.service.serializer
Methods in com.jme3.network.service.serializer with parameters of type HostedConnectionModifier and TypeMethodDescriptionvoidServerSerializerRegistrationsService.connectionAdded(Server server, HostedConnection hc) -
Uses of HostedConnection in com.jme3.network.util
Methods in com.jme3.network.util with parameters of type HostedConnectionModifier and TypeMethodDescriptionprotected ObjectSessionDataDelegator.getSourceDelegate(HostedConnection source) Returns the attributeName attribute of the supplied source HostConnection.protected voidSessionDataDelegator.miss(HostedConnection source) Called internally when there is no session object for the current attribute name attached to the passed source HostConnection.