jMonkeyEngine 3.1 jme3-networking
A B C D E F G H I K L M N O P R S T U V W Z 

A

AbstractClientService - Class in com.jme3.network.service
Convenient base class for ClientServices providing some default ClientService interface implementations as well as a few convenience methods such as getServiceManager() and getService(type).
AbstractClientService() - Constructor for class com.jme3.network.service.AbstractClientService
 
AbstractHostedConnectionService - Class in com.jme3.network.service
Convenient base class for HostedServices providing some default HostedService interface implementations as well as a few convenience methods such as getServiceManager() and getService(type).
AbstractHostedConnectionService() - Constructor for class com.jme3.network.service.AbstractHostedConnectionService
Creates a new HostedService that will autohost connections when detected.
AbstractHostedConnectionService(boolean) - Constructor for class com.jme3.network.service.AbstractHostedConnectionService
Creates a new HostedService that will automatically host connections only if autoHost is true.
AbstractHostedService - Class in com.jme3.network.service
Convenient base class for HostedServices providing some default HostedService interface implementations as well as a few convenience methods such as getServiceManager() and getService(type).
AbstractHostedService() - Constructor for class com.jme3.network.service.AbstractHostedService
 
AbstractKernel - Class in com.jme3.network.kernel
Base implementation of the Kernel interface providing several useful default implementations of some methods.
AbstractKernel() - Constructor for class com.jme3.network.kernel.AbstractKernel
 
AbstractMessage - Class in com.jme3.network
Interface implemented by all network messages.
AbstractMessage() - Constructor for class com.jme3.network.AbstractMessage
 
AbstractMessage(boolean) - Constructor for class com.jme3.network.AbstractMessage
 
AbstractMessageDelegator<S extends MessageConnection> - Class in com.jme3.network.util
A MessageListener implementation that will forward messages to methods of a delegate object.
AbstractMessageDelegator(Class, boolean) - Constructor for class com.jme3.network.util.AbstractMessageDelegator
Creates an AbstractMessageDelegator that will forward received messages to methods of the specified delegate type.
AbstractService<S extends ServiceManager> - Class in com.jme3.network.service
Base class providing some default Service interface implementations as well as a few convenience methods such as getServiceManager() and getService(type).
AbstractService() - Constructor for class com.jme3.network.service.AbstractService
 
accept(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
addBuffer(ByteBuffer) - Method in class com.jme3.network.base.MessageProtocol
Adds the specified buffer, extracting the contained messages and making them available to getMessage().
addChannel(int) - Method in class com.jme3.network.base.DefaultServer
 
addChannel(int) - Method in interface com.jme3.network.Server
Adds an alternate channel to the server, using the specified port.
addClientStateListener(ClientStateListener) - Method in class com.jme3.network.base.DefaultClient
 
addClientStateListener(ClientStateListener) - Method in interface com.jme3.network.Client
Adds a listener that will be notified about connection state changes.
addConnection(HostedConnection) - Method in class com.jme3.network.service.HostedServiceManager
Called internally when a new connection has been added so that the services can be notified.
addConnectionListener(ConnectionListener) - Method in class com.jme3.network.base.DefaultServer
 
addConnectionListener(ConnectionListener) - Method in interface com.jme3.network.Server
Adds a listener that will be notified when new hosted connections arrive.
addEndpoint(SocketChannel) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
addEnvelope(Envelope) - Method in class com.jme3.network.kernel.AbstractKernel
 
addErrorListener(ErrorListener<? super Client>) - Method in class com.jme3.network.base.DefaultClient
 
addErrorListener(ErrorListener<? super Client>) - Method in interface com.jme3.network.Client
Adds a listener that will be notified when any connection errors occur.
addEvent(EndpointEvent) - Method in class com.jme3.network.kernel.AbstractKernel
 
addMessageListener(MessageListener<? super Client>) - Method in class com.jme3.network.base.DefaultClient
 
addMessageListener(MessageListener<? super Client>, Class...) - Method in class com.jme3.network.base.DefaultClient
 
addMessageListener(MessageListener<? super HostedConnection>) - Method in class com.jme3.network.base.DefaultServer
 
addMessageListener(MessageListener<? super HostedConnection>, Class...) - Method in class com.jme3.network.base.DefaultServer
 
addMessageListener(MessageListener<? super S>) - Method in class com.jme3.network.base.MessageListenerRegistry
 
addMessageListener(MessageListener<? super S>, Class...) - Method in class com.jme3.network.base.MessageListenerRegistry
 
addMessageListener(MessageListener<? super Client>) - Method in interface com.jme3.network.Client
Adds a listener that will be notified when any message or object is received from the server.
addMessageListener(MessageListener<? super Client>, Class...) - Method in interface com.jme3.network.Client
Adds a listener that will be notified when messages of the specified types are received.
addMessageListener(MessageListener<? super HostedConnection>) - Method in interface com.jme3.network.Server
Adds a listener that will be notified when any message or object is received from one of the clients.
addMessageListener(MessageListener<? super HostedConnection>, Class...) - Method in interface com.jme3.network.Server
Adds a listener that will be notified when messages of the specified types are received from one of the clients.
addRemoteClass(ClassInfo) - Method in class com.jme3.network.service.rmi.RmiRegistry
 
addRemoteObject(byte, short, String, ClassInfo) - Method in class com.jme3.network.service.rmi.RmiRegistry
 
addService(ClientService) - Method in class com.jme3.network.service.ClientServiceManager
Adds the specified ClientService and initializes it.
addService(HostedService) - Method in class com.jme3.network.service.HostedServiceManager
Adds the specified HostedService and initializes it.
addService(S) - Method in class com.jme3.network.service.ServiceManager
Adds the specified service and initializes it.
addServices(ClientService...) - Method in class com.jme3.network.service.ClientServiceManager
Adds all of the specified ClientServices and initializes them.
addServices(HostedService...) - Method in class com.jme3.network.service.HostedServiceManager
Adds all of the specified HostedServices and initializes them.
addStandardServices() - Method in class com.jme3.network.base.DefaultClient
 
addStandardServices() - Method in class com.jme3.network.base.DefaultServer
 
allowName(String) - Method in class com.jme3.network.util.AbstractMessageDelegator
Returns true if the specified method name is allowed.
apply(Endpoint) - Method in class com.jme3.network.base.DefaultServer.FilterAdapter
 
apply(T) - Method in interface com.jme3.network.Filter
Returns true if the specified input is accepted by this filter.
args - Variable in class com.jme3.network.rmi.RemoteMethodCallMessage
Arguments of the remote method invocation.
ArraySerializer - Class in com.jme3.network.serializing.serializers
Array serializer
ArraySerializer() - Constructor for class com.jme3.network.serializing.serializers.ArraySerializer
 
Asynchronous - Annotation Type in com.jme3.network.service.rmi
Indicates that a given method should be executed asynchronously through the RMI service.
ATTRIBUTE_NAME - Static variable in class com.jme3.network.service.rmi.RmiHostedService
 
attributeNames() - Method in class com.jme3.network.base.DefaultServer.Connection
 
attributeNames() - Method in interface com.jme3.network.HostedConnection
Returns a read-only set of attribute names currently stored for this client session.
automap() - Method in class com.jme3.network.util.AbstractMessageDelegator
Calls the map(Set) method with a null argument causing all available matching methods to mapped to message types.
available() - Method in interface com.jme3.network.kernel.Connector
Returns true if there is currently data available for reading.
available() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
available() - Method in class com.jme3.network.kernel.udp.UdpConnector
This always returns false since the simple DatagramSocket usage cannot be run in a non-blocking way.

B

BooleanSerializer - Class in com.jme3.network.serializing.serializers
Boolean serializer.
BooleanSerializer() - Constructor for class com.jme3.network.serializing.serializers.BooleanSerializer
 
broadcast(Message) - Method in class com.jme3.network.base.DefaultServer
 
broadcast(Filter<? super HostedConnection>, Message) - Method in class com.jme3.network.base.DefaultServer
 
broadcast(int, Filter<? super HostedConnection>, Message) - Method in class com.jme3.network.base.DefaultServer
 
broadcast(Filter<? super Endpoint>, ByteBuffer, boolean, boolean) - Method in class com.jme3.network.base.KernelAdapter
 
broadcast(Filter<? super Endpoint>, ByteBuffer, boolean, boolean) - Method in interface com.jme3.network.kernel.Kernel
Dispatches the data to all endpoints managed by the kernel that match the specified endpoint filter..
broadcast(Filter<? super Endpoint>, ByteBuffer, boolean, boolean) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
broadcast(Filter<? super Endpoint>, ByteBuffer, boolean, boolean) - Method in class com.jme3.network.kernel.udp.UdpKernel
Dispatches the data to all endpoints managed by the kernel.
broadcast(Message) - Method in interface com.jme3.network.Server
Sends the specified message to all connected clients.
broadcast(Filter<? super HostedConnection>, Message) - Method in interface com.jme3.network.Server
Sends the specified message to all connected clients that match the filter.
broadcast(int, Filter<? super HostedConnection>, Message) - Method in interface com.jme3.network.Server
Sends the specified message over the specified alternate channel to all connected clients that match the filter.
ByteSerializer - Class in com.jme3.network.serializing.serializers
Byte serializer.
ByteSerializer() - Constructor for class com.jme3.network.serializing.serializers.ByteSerializer
 

C

call(RpcConnection, short, short, Object...) - Method in interface com.jme3.network.service.rpc.RpcHandler
Called when a remote procedure call request is received for a particular object from the other end of the network connection.
callAndWait(byte, short, short, Object...) - Method in class com.jme3.network.service.rpc.RpcClientService
Performs a synchronous call on the server against the specified object using the specified procedure ID.
callAndWait(byte, short, short, Object...) - Method in class com.jme3.network.service.rpc.RpcConnection
Performs a remote procedure call with the specified arguments and waits for the response.
callAsync(byte, short, short, Object...) - Method in class com.jme3.network.service.rpc.RpcClientService
Performs an asynchronous call on the server against the specified object using the specified procedure ID.
callAsync(byte, short, short, Object...) - Method in class com.jme3.network.service.rpc.RpcConnection
Performs a remote procedure call with the specified arguments but does not wait for a response.
CallType - Enum in com.jme3.network.service.rmi
Internal type denoting the type of call to make when remotely invoking methods.
cancel(NioEndpoint) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
cancel(SelectionKey, SocketChannel) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
CHANNEL_DEFAULT_RELIABLE - Static variable in interface com.jme3.network.MessageConnection
Indicates the default reliable channel that is used when calling the channel-less send() with a reliable message.
CHANNEL_DEFAULT_UNRELIABLE - Static variable in interface com.jme3.network.MessageConnection
Indicates the default unreliable channel that is used when calling the channel-less send() with a reliable=false message.
ChannelInfoMessage - Class in com.jme3.network.message
Contains information about any extra server channels (if they exist).
ChannelInfoMessage() - Constructor for class com.jme3.network.message.ChannelInfoMessage
 
ChannelInfoMessage(long, List<Integer>) - Constructor for class com.jme3.network.message.ChannelInfoMessage
 
CharSerializer - Class in com.jme3.network.serializing.serializers
Char serializer.
CharSerializer() - Constructor for class com.jme3.network.serializing.serializers.CharSerializer
 
checkChannel(int) - Method in class com.jme3.network.base.DefaultServer
 
checkClass(Class) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
 
checkClosed() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
checkClosed() - Method in class com.jme3.network.kernel.udp.UdpConnector
 
checkRunning() - Method in class com.jme3.network.base.DefaultClient
 
ClassInfo - Class in com.jme3.network.service.rmi
Internal information about a shared class.
ClassInfo() - Constructor for class com.jme3.network.service.rmi.ClassInfo
For serialization only.
ClassInfo(short, Class) - Constructor for class com.jme3.network.service.rmi.ClassInfo
 
ClassInfoRegistry - Class in com.jme3.network.service.rmi
Internal registry of shared types and their ClassInfo and MethodInfo objects.
ClassInfoRegistry() - Constructor for class com.jme3.network.service.rmi.ClassInfoRegistry
 
Client - Interface in com.jme3.network
Represents a remote connection to a server that can be used for sending and receiving messages.
clientConnected(Client) - Method in interface com.jme3.network.ClientStateListener
Called when the specified client is fully connected to the remote server.
clientConnected(Client) - Method in class com.jme3.network.rmi.ObjectStore.ClientEventHandler
 
clientDisconnected(Client, ClientStateListener.DisconnectInfo) - Method in interface com.jme3.network.ClientStateListener
Called when the client has disconnected from the remote server.
clientDisconnected(Client, ClientStateListener.DisconnectInfo) - Method in class com.jme3.network.rmi.ObjectStore.ClientEventHandler
 
ClientRegistrationMessage - Class in com.jme3.network.message
Client registration is a message that contains a unique ID.
ClientRegistrationMessage() - Constructor for class com.jme3.network.message.ClientRegistrationMessage
 
ClientRegistrationMessage.ClientRegistrationSerializer - Class in com.jme3.network.message
A message-specific serializer to avoid compatibility issues between versions.
ClientRegistrationMessage.ClientRegistrationSerializer() - Constructor for class com.jme3.network.message.ClientRegistrationMessage.ClientRegistrationSerializer
 
ClientSerializerRegistrationsService - Class in com.jme3.network.service.serializer
 
ClientSerializerRegistrationsService() - Constructor for class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
 
ClientService - Interface in com.jme3.network.service
Interface implemented by Client-side services that augment a network Client's functionality.
ClientServiceManager - Class in com.jme3.network.service
Manages ClientServices on behalf of a network Client object.
ClientServiceManager(Client) - Constructor for class com.jme3.network.service.ClientServiceManager
Creates a new ClientServiceManager for the specified network Client.
ClientStateListener - Interface in com.jme3.network
Listener that is notified about the connection state of a Client.
ClientStateListener.DisconnectInfo - Class in com.jme3.network
Provided with the clientDisconnected() notification to include additional information about the disconnect.
ClientStateListener.DisconnectInfo() - Constructor for class com.jme3.network.ClientStateListener.DisconnectInfo
 
close() - Method in class com.jme3.network.base.ConnectorAdapter
 
close() - Method in class com.jme3.network.base.DefaultClient
 
close() - Method in class com.jme3.network.base.DefaultServer
 
close(String) - Method in class com.jme3.network.base.DefaultServer.Connection
 
close() - Method in class com.jme3.network.base.KernelAdapter
 
close() - Method in interface com.jme3.network.Client
Closes this connection to the server.
close(String) - Method in interface com.jme3.network.HostedConnection
Closes and removes this connection from the server sending the optional reason to the remote client.
close() - Method in interface com.jme3.network.kernel.Connector
Closes the connection.
close() - Method in interface com.jme3.network.kernel.Endpoint
Closes this endpoint without flushing any of its currently enqueued outbound data.
close(boolean) - Method in interface com.jme3.network.kernel.Endpoint
Closes this endpoint, optionally flushing any queued data before closing.
close() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
close(boolean) - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
close() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
close() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
close() - Method in class com.jme3.network.kernel.udp.UdpConnector
 
close() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
close(boolean) - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
close() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
 
close() - Method in interface com.jme3.network.Server
Closes all client connections, stops and running processing threads, and closes the host connection.
close() - Method in class com.jme3.network.service.rpc.RpcConnection
Clears any pending synchronous calls causing them to throw an exception with the message "Closing connection".
CLOSE_MARKER - Static variable in class com.jme3.network.kernel.tcp.NioEndpoint
 
closeConnection() - Method in class com.jme3.network.base.DefaultServer.Connection
 
closeConnections(ClientStateListener.DisconnectInfo) - Method in class com.jme3.network.base.DefaultClient
 
closeEndpoint(NioEndpoint) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
Called by the endpoints when they need to be closed.
closeEndpoint(UdpEndpoint) - Method in class com.jme3.network.kernel.udp.UdpKernel
Called by the endpoints when they need to be closed.
CollectionSerializer - Class in com.jme3.network.serializing.serializers
Serializes collections.
CollectionSerializer() - Constructor for class com.jme3.network.serializing.serializers.CollectionSerializer
 
com.jme3.network - package com.jme3.network
The network package contains the public API for the jME3 SpiderMonkey networking module.
com.jme3.network.base - package com.jme3.network.base
The base package contains the default implementations for the Client and Server interfaces from the public API.
com.jme3.network.kernel - package com.jme3.network.kernel
The kernel package is the heart of the JME networking module and controls the routing and dispatch of message data over different transport implementations.
com.jme3.network.kernel.tcp - package com.jme3.network.kernel.tcp
 
com.jme3.network.kernel.udp - package com.jme3.network.kernel.udp
 
com.jme3.network.message - package com.jme3.network.message
 
com.jme3.network.rmi - package com.jme3.network.rmi
 
com.jme3.network.serializing - package com.jme3.network.serializing
 
com.jme3.network.serializing.serializers - package com.jme3.network.serializing.serializers
 
com.jme3.network.service - package com.jme3.network.service
 
com.jme3.network.service.rmi - package com.jme3.network.service.rmi
 
com.jme3.network.service.rpc - package com.jme3.network.service.rpc
 
com.jme3.network.service.rpc.msg - package com.jme3.network.service.rpc.msg
 
com.jme3.network.service.serializer - package com.jme3.network.service.serializer
 
com.jme3.network.util - package com.jme3.network.util
 
compile() - Static method in class com.jme3.network.message.SerializerRegistrationsMessage
 
compiled - Static variable in class com.jme3.network.message.SerializerRegistrationsMessage
 
CompressedMessage - Class in com.jme3.network.message
CompressedMessage is a base class for all messages that compress others.
CompressedMessage() - Constructor for class com.jme3.network.message.CompressedMessage
 
CompressedMessage(Message) - Constructor for class com.jme3.network.message.CompressedMessage
 
configureChannels(long, int[]) - Method in class com.jme3.network.base.DefaultClient
 
connect() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
connect() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
 
connectionAdded(Server, HostedConnection) - Method in interface com.jme3.network.ConnectionListener
Called when a connection has been added to the specified server and is fully setup.
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.rmi.ObjectStore.ServerEventHandler
 
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.service.AbstractHostedConnectionService
Called internally when a new connection is detected for the server.
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.service.AbstractHostedService
Default implementation does nothing.
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.service.HostedServiceManager.ConnectionObserver
 
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.service.rmi.RmiHostedService
Called internally when a new connection is detected for the server.
connectionAdded(Server, HostedConnection) - Method in class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
 
connectionClosed(Endpoint) - Method in class com.jme3.network.base.DefaultServer
 
connectionClosed(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
 
ConnectionListener - Interface in com.jme3.network
Listener that is notified about connection arrivals and removals within a server.
connectionRemoved(Server, HostedConnection) - Method in interface com.jme3.network.ConnectionListener
Called when a connection has been removed from the specified server.
connectionRemoved(Server, HostedConnection) - Method in class com.jme3.network.rmi.ObjectStore.ServerEventHandler
 
connectionRemoved(Server, HostedConnection) - Method in class com.jme3.network.service.AbstractHostedConnectionService
Called internally when an existing connection is leaving the server.
connectionRemoved(Server, HostedConnection) - Method in class com.jme3.network.service.AbstractHostedService
Default implementation does nothing.
connectionRemoved(Server, HostedConnection) - Method in class com.jme3.network.service.HostedServiceManager.ConnectionObserver
 
connectionRemoved(Server, HostedConnection) - Method in class com.jme3.network.service.rmi.RmiHostedService
Called internally when an existing connection is leaving the server.
Connector - Interface in com.jme3.network.kernel
A single channel remote connection allowing the sending and receiving of data.
ConnectorAdapter - Class in com.jme3.network.base
Wraps a single Connector and forwards new messages to the supplied message dispatcher.
ConnectorAdapter(Connector, MessageListener<Object>, ErrorListener<Object>, boolean) - Constructor for class com.jme3.network.base.ConnectorAdapter
 
ConnectorAdapter.WriterThread - Class in com.jme3.network.base
 
ConnectorAdapter.WriterThread() - Constructor for class com.jme3.network.base.ConnectorAdapter.WriterThread
 
ConnectorException - Exception in com.jme3.network.kernel
Represents a client-side connection error, usually encapsulating an IOException as its cause.
ConnectorException(String, Throwable) - Constructor for exception com.jme3.network.kernel.ConnectorException
 
ConnectorException(String) - Constructor for exception com.jme3.network.kernel.ConnectorException
 
ConnectorFactory - Interface in com.jme3.network.base
Creates Connectors for a specific host.
connectToServer(String, int) - Static method in class com.jme3.network.Network
Creates a Client that communicates with the specified host and port using both reliable and fast transports.
connectToServer(String, int, int) - Static method in class com.jme3.network.Network
Creates a Client that communicates with the specified host and separate TCP and UDP ports using both reliable and fast transports.
connectToServer(String, int, String, int) - Static method in class com.jme3.network.Network
Creates a Client that communicates with the specified host and port using both reliable and fast transports.
connectToServer(String, int, String, int, int) - Static method in class com.jme3.network.Network
Creates a Client that communicates with the specified host and and separate TCP and UDP ports using both reliable and fast transports.
connectToServer(String, int, int) - Method in class com.jme3.network.Network.NetworkClientImpl
 
connectToServer(InetAddress, int, int) - Method in class com.jme3.network.Network.NetworkClientImpl
 
connectToServer(String, int, int) - Method in interface com.jme3.network.NetworkClient
Connects this client to the specified remote server and ports.
connectToServer(InetAddress, int, int) - Method in interface com.jme3.network.NetworkClient
Connects this client to the specified remote server and ports.
createAdd(Kernel, Endpoint) - Static method in class com.jme3.network.kernel.EndpointEvent
 
createAndDispatch(Envelope) - Method in class com.jme3.network.base.KernelAdapter
 
createAndDispatch(EndpointEvent) - Method in class com.jme3.network.base.KernelAdapter
 
createClient() - Static method in class com.jme3.network.Network
Creates a client that can be connected at a later time.
createClient(String, int) - Static method in class com.jme3.network.Network
Creates a client that can be connected at a later time.
createConnector(int, int) - Method in interface com.jme3.network.base.ConnectorFactory
 
createConnector(int, int) - Method in class com.jme3.network.base.TcpConnectorFactory
 
createHostThread() - Method in class com.jme3.network.kernel.udp.UdpKernel
 
createKernel(int, int) - Method in interface com.jme3.network.base.KernelFactory
 
createKernel(int, int) - Method in class com.jme3.network.base.NioKernelFactory
 
createMessage(ByteBuffer) - Method in class com.jme3.network.base.MessageProtocol
Creates a message from the properly sized byte buffer and adds it to the messages queue.
createRemove(Kernel, Endpoint) - Static method in class com.jme3.network.kernel.EndpointEvent
 
createSelectorThread() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
createServer(int) - Static method in class com.jme3.network.Network
Creates a Server that will utilize both reliable and fast transports to communicate with clients.
createServer(int, int) - Static method in class com.jme3.network.Network
Creates a Server that will utilize both reliable and fast transports to communicate with clients.
createServer(String, int, int, int) - Static method in class com.jme3.network.Network
Creates a named and versioned Server that will utilize both reliable and fast transports to communicate with clients.

D

DateSerializer - Class in com.jme3.network.serializing.serializers
Date serializer.
DateSerializer() - Constructor for class com.jme3.network.serializing.serializers.DateSerializer
 
DEFAULT - Static variable in interface com.jme3.network.base.KernelFactory
 
DEFAULT_GAME_NAME - Static variable in class com.jme3.network.Network
 
DEFAULT_VERSION - Static variable in class com.jme3.network.Network
 
DefaultClient - Class in com.jme3.network.base
A default implementation of the Client interface that delegates its network connectivity to a kernel.Connector.
DefaultClient(String, int) - Constructor for class com.jme3.network.base.DefaultClient
 
DefaultClient(String, int, Connector, Connector, ConnectorFactory) - Constructor for class com.jme3.network.base.DefaultClient
 
DefaultClient.Redispatch - Class in com.jme3.network.base
 
DefaultClient.Redispatch() - Constructor for class com.jme3.network.base.DefaultClient.Redispatch
 
DefaultServer - Class in com.jme3.network.base
A default implementation of the Server interface that delegates its network connectivity to kernel.Kernel.
DefaultServer(String, int, Kernel, Kernel) - Constructor for class com.jme3.network.base.DefaultServer
 
DefaultServer.Connection - Class in com.jme3.network.base
 
DefaultServer.Connection(int) - Constructor for class com.jme3.network.base.DefaultServer.Connection
 
DefaultServer.FilterAdapter - Class in com.jme3.network.base
 
DefaultServer.FilterAdapter(Filter<? super HostedConnection>) - Constructor for class com.jme3.network.base.DefaultServer.FilterAdapter
 
DefaultServer.Redispatch - Class in com.jme3.network.base
 
DefaultServer.Redispatch() - Constructor for class com.jme3.network.base.DefaultServer.Redispatch
 
DisconnectMessage - Class in com.jme3.network.message
Represents a disconnect message.
DisconnectMessage() - Constructor for class com.jme3.network.message.DisconnectMessage
 
DisconnectMessage.DisconnectSerializer - Class in com.jme3.network.message
A message-specific serializer to avoid compatibility issues between versions.
DisconnectMessage.DisconnectSerializer() - Constructor for class com.jme3.network.message.DisconnectMessage.DisconnectSerializer
 
dispatch(Message) - Method in class com.jme3.network.base.ConnectorAdapter
 
dispatch(Message) - Method in class com.jme3.network.base.DefaultClient
 
dispatch(HostedConnection, Message) - Method in class com.jme3.network.base.DefaultServer
 
dispatch(Endpoint, Message) - Method in class com.jme3.network.base.KernelAdapter
Note on threading for those writing their own server or adapter implementations.
DoubleSerializer - Class in com.jme3.network.serializing.serializers
Double serializer.
DoubleSerializer() - Constructor for class com.jme3.network.serializing.serializers.DoubleSerializer
 

E

Endpoint - Interface in com.jme3.network.kernel
An abstract endpoint in a Kernel that can be used for sending/receiving messages within the kernel space.
EndpointEvent - Class in com.jme3.network.kernel
Provides information about an added or removed connection.
EndpointEvent(Kernel, Endpoint, EndpointEvent.Type) - Constructor for class com.jme3.network.kernel.EndpointEvent
 
EndpointEvent.Type - Enum in com.jme3.network.kernel
 
enqueueWrite(Endpoint, DatagramPacket) - Method in class com.jme3.network.kernel.udp.UdpKernel
 
EnumSerializer - Class in com.jme3.network.serializing.serializers
Enum serializer.
EnumSerializer() - Constructor for class com.jme3.network.serializing.serializers.EnumSerializer
 
Envelope - Class in com.jme3.network.kernel
Encapsulates a received piece of data.
Envelope(Endpoint, byte[], boolean) - Constructor for class com.jme3.network.kernel.Envelope
Creates an incoming envelope holding the data from the specified source.
equals(Object) - Method in class com.jme3.network.service.rmi.MethodInfo
 
equalTo(T) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for inputs that are .equals() equivalent to the specified value.
error - Variable in class com.jme3.network.ClientStateListener.DisconnectInfo
 
ERROR - Static variable in class com.jme3.network.message.DisconnectMessage
 
ErrorListener<S> - Interface in com.jme3.network
Notified when errors happen on a connection.
EVENTS_PENDING - Static variable in interface com.jme3.network.kernel.Kernel
A marker envelope returned from read() that indicates that there are events pending.
exposeObject(String, Object) - Method in class com.jme3.network.rmi.ObjectStore
 

F

FieldSerializer - Class in com.jme3.network.serializing.serializers
The field serializer is the default serializer used for custom class.
FieldSerializer() - Constructor for class com.jme3.network.serializing.serializers.FieldSerializer
 
Filter<T> - Interface in com.jme3.network
Determines a true or false value for a given input.
FILTERED - Static variable in class com.jme3.network.message.DisconnectMessage
 
Filters - Class in com.jme3.network
Static utility methods pertaining to Filter instances.
Filters() - Constructor for class com.jme3.network.Filters
 
findDelegate(String, Class) - Method in class com.jme3.network.util.AbstractMessageDelegator
Goes through all of the delegate type's methods to find a method of the specified name that may take the specified message type.
fireConnected() - Method in class com.jme3.network.base.DefaultClient
 
fireConnectionAdded(HostedConnection) - Method in class com.jme3.network.base.DefaultServer
 
fireConnectionRemoved(HostedConnection) - Method in class com.jme3.network.base.DefaultServer
 
fireDisconnected(ClientStateListener.DisconnectInfo) - Method in class com.jme3.network.base.DefaultClient
 
FloatSerializer - Class in com.jme3.network.serializing.serializers
Float serializer.
FloatSerializer() - Constructor for class com.jme3.network.serializing.serializers.FloatSerializer
 
flushEvents() - Method in class com.jme3.network.base.KernelAdapter
 

G

getAddress() - Method in class com.jme3.network.base.DefaultServer.Connection
 
getAddress() - Method in interface com.jme3.network.HostedConnection
Returns the transport specific remote address of this connection as a string.
getAddress() - Method in interface com.jme3.network.kernel.Endpoint
Returns the transport specific remote address of this endpoint as a string.
getAddress() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
getAddress() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
getArguments() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
getAttribute(String) - Method in class com.jme3.network.base.DefaultServer.Connection
 
getAttribute(String) - Method in interface com.jme3.network.HostedConnection
Retrieves a previosly stored session attribute or null if no such attribute exists.
getAttributeName() - Method in class com.jme3.network.util.SessionDataDelegator
Returns the attribute name that will be used to look up the delegate object.
getAutoHost() - Method in class com.jme3.network.service.AbstractHostedConnectionService
Returns true if this service automatically attaches hosting capabilities to new connections.
getAutoHost() - Method in class com.jme3.network.service.rmi.RmiHostedService
Returns true if RMI hosting is automatically started for all new connections.
getCallType() - Method in class com.jme3.network.service.rmi.MethodInfo
 
getCallType(Method) - Static method in class com.jme3.network.service.rmi.MethodInfo
 
getChannel(KernelAdapter) - Method in class com.jme3.network.base.DefaultServer
 
getChannel() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
getClassInfo(Class) - Method in class com.jme3.network.service.rmi.ClassInfoRegistry
 
getClient() - Method in class com.jme3.network.service.AbstractClientService
Returns the client for this client service or null if the service is not yet attached.
getClient() - Method in class com.jme3.network.service.ClientServiceManager
Returns the network Client associated with this ClientServiceManager.
getConnection(int) - Method in class com.jme3.network.base.DefaultServer
 
getConnection(Endpoint) - Method in class com.jme3.network.base.DefaultServer
 
getConnection(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
 
getConnection(int) - Method in interface com.jme3.network.Server
Retrieves a hosted connection by ID.
getConnections() - Method in class com.jme3.network.base.DefaultServer
 
getConnections() - Method in interface com.jme3.network.Server
Retrieves a read-only collection of all currently connected connections.
getData() - Method in class com.jme3.network.kernel.Envelope
 
getEndpoint() - Method in class com.jme3.network.kernel.EndpointEvent
 
getEndpoint(SocketAddress, boolean) - Method in class com.jme3.network.kernel.udp.UdpKernel
 
getError() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
getExactSerializer(Class) - Static method in class com.jme3.network.serializing.Serializer
 
getExactSerializerRegistration(Class) - Static method in class com.jme3.network.serializing.Serializer
 
getExposedObject(String, Class<T>, boolean) - Method in class com.jme3.network.rmi.ObjectStore
 
getGameName() - Method in class com.jme3.network.base.DefaultClient
 
getGameName() - Method in class com.jme3.network.base.DefaultServer
 
getGameName() - Method in interface com.jme3.network.Client
Returns the 'game name' for servers to which this client should be able to connect.
getGameName() - Method in class com.jme3.network.message.ClientRegistrationMessage
 
getGameName() - Method in interface com.jme3.network.Server
Returns the 'game name' for this server.
getId() - Method in class com.jme3.network.base.DefaultClient
 
getId() - Method in class com.jme3.network.base.DefaultServer.Connection
 
getId() - Method in interface com.jme3.network.Client
Returns a unique ID for this client within the remote server or -1 if this client isn't fully connected to the server.
getId() - Method in interface com.jme3.network.HostedConnection
Returns the server-unique ID for this client.
getId() - Method in interface com.jme3.network.kernel.Endpoint
Returns an ID that is unique for this endpoint within its Kernel instance.
getId() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
getId() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
getId() - Method in class com.jme3.network.message.ChannelInfoMessage
 
getId() - Method in class com.jme3.network.message.ClientRegistrationMessage
 
getId() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the ID.
getId() - Method in class com.jme3.network.service.rmi.ClassInfo
 
getId() - Method in class com.jme3.network.service.rmi.MethodInfo
 
getKernel() - Method in class com.jme3.network.base.KernelAdapter
 
getKernel() - Method in interface com.jme3.network.kernel.Endpoint
Returns the kernel to which this endpoint belongs.
getKernel() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
getKernel() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
getLevel() - Method in class com.jme3.network.message.ZIPCompressedMessage
 
getListeners(Class, boolean) - Method in class com.jme3.network.base.MessageListenerRegistry
 
getLocalObject(Class<T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Returns a local object that was previously registered with share() using just type registration.
getLocalObject(String, Class<T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Returns a local object that was previously registered with share() using name registration.
getMessage() - Method in class com.jme3.network.base.MessageProtocol
Retrieves and removes an extracted message from the accumulated buffer or returns null if there are no more messages.
getMessage() - Method in class com.jme3.network.message.CompressedMessage
 
getMessageBuffer(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
 
getMessageId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
getMessageId() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
getMessageType(Method) - Method in class com.jme3.network.util.AbstractMessageDelegator
Convenience method that returns the message type as reflecively determined for a particular method.
getMessageTypes() - Method in class com.jme3.network.util.AbstractMessageDelegator
Returns the array of messages known to be handled by this message delegator.
getMethod(short) - Method in class com.jme3.network.service.rmi.ClassInfo
 
getMethod(Method) - Method in class com.jme3.network.service.rmi.ClassInfo
 
getMethod(Class) - Method in class com.jme3.network.util.AbstractMessageDelegator
Returns the mapped method for the specified message type.
getMethodInfo(Method) - Method in class com.jme3.network.service.rmi.RemoteObjectHandler
 
getMethods() - Method in class com.jme3.network.service.rmi.ClassInfo
 
getName() - Method in class com.jme3.network.service.rmi.ClassInfo
 
getObjectId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
getParent() - Method in class com.jme3.network.service.ClientServiceManager
Returns 'this' and is what is passed to ClientService.initialize() and ClientService.termnate();
getParent() - Method in class com.jme3.network.service.HostedServiceManager
Returns 'this' and is what is passed to HostedService.initialize() and HostedService.termnate();
getParent() - Method in class com.jme3.network.service.ServiceManager
Retreives the 'parent' of this service manager, usually a more specifically typed version of 'this' but it can be anything the seervices are expecting.
getPorts() - Method in class com.jme3.network.message.ChannelInfoMessage
 
getProcedureId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
getReason() - Method in class com.jme3.network.message.DisconnectMessage
 
getRemoteAddress() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
getRemoteObject(Class<T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Looks up a remote object on the server by type and returns a local proxy to the remote object that was shared on the other end of the network connection.
getRemoteObject(String, Class<T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Looks up a remote object on the server by name and returns a local proxy to the remote object that was shared on the other end of the network connection.
getRemoteObject(Class<T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Looks up a remote object by type and returns a local proxy to the remote object that was shared on the other end of the network connection.
getRemoteObject(String, Class<T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Looks up a remote object by name and returns a local proxy to the remote object that was shared on the other end of the network connection.
getResult() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
getRmiConnection() - Static method in class com.jme3.network.service.rmi.RmiContext
Returns the HostedConnection that is responsible for any RMI-related calls on this thread.
getRmiRegistry(HostedConnection) - Method in class com.jme3.network.service.rmi.RmiHostedService
Returns the RMI registry for the specific HostedConection.
getRpcConnection() - Method in class com.jme3.network.service.rpc.RpcClientService
Returns the underlying RPC connection for use by other services that may require a more generic non-client/server specific RPC object with which to interact.
getRpcConnection(HostedConnection) - Method in class com.jme3.network.service.rpc.RpcHostedService
Retrieves the RpcConnection for the specified HostedConnection if that HostedConnection has had RPC services started using startHostingOnConnection() (or via autohosting).
getSerializer(Class) - Static method in class com.jme3.network.serializing.Serializer
 
getSerializer(Class, boolean) - Static method in class com.jme3.network.serializing.Serializer
 
getSerializer() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the serializer.
getSerializerRegistration(Class) - Static method in class com.jme3.network.serializing.Serializer
 
getSerializerRegistration(Class, boolean) - Static method in class com.jme3.network.serializing.Serializer
 
getSerializerRegistrations() - Static method in class com.jme3.network.serializing.Serializer
 
getServer() - Method in class com.jme3.network.base.DefaultServer.Connection
 
getServer() - Method in interface com.jme3.network.HostedConnection
Returns the Server instance that is hosting this connection.
getServer() - Method in class com.jme3.network.service.AbstractHostedService
Returns the server for this hosted service or null if the service is not yet attached.
getServer() - Method in class com.jme3.network.service.HostedServiceManager
Returns the network Server associated with this HostedServiceManager.
getService(Class<T>) - Method in class com.jme3.network.service.AbstractService
Retrieves the first sibling service of the specified type.
getService(Class<S>) - Method in class com.jme3.network.service.ServiceManager
Retrieves the first service of the specified type.
getServiceManager() - Method in class com.jme3.network.service.AbstractService
Returns the ServiceManager that was passed to initialize() during service initialization.
getServices() - Method in class com.jme3.network.base.DefaultClient
 
getServices() - Method in class com.jme3.network.base.DefaultServer
 
getServices() - Method in interface com.jme3.network.Client
Returns the manager for client services.
getServices() - Method in interface com.jme3.network.Server
Returns the manager for hosted services.
getServices() - Method in class com.jme3.network.service.ServiceManager
Returns the complete list of services managed by this service manager.
getSocket() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
 
getSource() - Method in class com.jme3.network.kernel.EndpointEvent
 
getSource() - Method in class com.jme3.network.kernel.Envelope
 
getSourceDelegate(S) - Method in class com.jme3.network.util.AbstractMessageDelegator
Implemented by subclasses to provide the actual delegate object against which the mapped message type methods will be called.
getSourceDelegate(MessageConnection) - Method in class com.jme3.network.util.ObjectMessageDelegator
 
getSourceDelegate(HostedConnection) - Method in class com.jme3.network.util.SessionDataDelegator
Returns the attributeName attribute of the supplied source HostConnection.
getThrowable() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
getType() - Method in class com.jme3.network.kernel.EndpointEvent
 
getType() - Method in class com.jme3.network.message.DisconnectMessage
 
getType() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the class type.
getType() - Method in class com.jme3.network.service.rmi.ClassInfo
 
getVersion() - Method in class com.jme3.network.base.DefaultClient
 
getVersion() - Method in class com.jme3.network.base.DefaultServer
 
getVersion() - Method in interface com.jme3.network.Client
Returns the game-specific version of the server this client should be able to connect to.
getVersion() - Method in class com.jme3.network.message.ClientRegistrationMessage
 
getVersion() - Method in interface com.jme3.network.Server
Returns the game-specific version of this server used for detecting mismatched clients.
GZIPCompressedMessage - Class in com.jme3.network.message
GZIPCompressedMessage is the class that you need to use should you want to compress a message using Gzip.
GZIPCompressedMessage() - Constructor for class com.jme3.network.message.GZIPCompressedMessage
 
GZIPCompressedMessage(Message) - Constructor for class com.jme3.network.message.GZIPCompressedMessage
 
GZIPSerializer - Class in com.jme3.network.serializing.serializers
Serializes GZIP messages.
GZIPSerializer() - Constructor for class com.jme3.network.serializing.serializers.GZIPSerializer
 

H

handleError(Exception) - Method in class com.jme3.network.base.ConnectorAdapter
 
handleError(Throwable) - Method in class com.jme3.network.base.DefaultClient
Either calls the ErrorListener or closes the connection if there are no listeners.
handleError(Object, Throwable) - Method in class com.jme3.network.base.DefaultClient.Redispatch
 
handleError(S, Throwable) - Method in interface com.jme3.network.ErrorListener
 
handleMessage(RpcCallMessage) - Method in class com.jme3.network.service.rpc.RpcConnection
Called internally when an RpcCallMessage is received from the remote connection.
handleMessage(RpcResponseMessage) - Method in class com.jme3.network.service.rpc.RpcConnection
Called internally when an RpcResponseMessage is received from the remote connection.
hasConnections() - Method in class com.jme3.network.base.DefaultServer
 
hasConnections() - Method in interface com.jme3.network.Server
Returns true if the server has active connections at the time of this call.
hasEnvelopes() - Method in class com.jme3.network.kernel.AbstractKernel
Returns true if there are waiting envelopes.
hasEnvelopes() - Method in interface com.jme3.network.kernel.Kernel
Returns true if there are waiting envelopes.
hashCode() - Method in class com.jme3.network.service.rmi.MethodInfo
 
hasPending() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
HostedConnection - Interface in com.jme3.network
This is the connection back to a client that is being hosted in a server instance.
HostedService - Interface in com.jme3.network.service
Interface implemented by Server-side services that augment a network Server's functionality.
HostedServiceManager - Class in com.jme3.network.service
Manages HostedServices on behalf of a network Server object.
HostedServiceManager(Server) - Constructor for class com.jme3.network.service.HostedServiceManager
Creates a HostedServiceManager for the specified network Server.
HostedServiceManager.ConnectionObserver - Class in com.jme3.network.service
 
HostedServiceManager.ConnectionObserver() - Constructor for class com.jme3.network.service.HostedServiceManager.ConnectionObserver
 

I

ignore - Static variable in class com.jme3.network.message.SerializerRegistrationsMessage
 
in(T...) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for any value in the specified list of values and false for all other cases.
in(Collection<? extends T>) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for any value in the specified collection and false for all other cases.
initialize() - Method in class com.jme3.network.base.KernelAdapter
 
initialize() - Method in interface com.jme3.network.kernel.Kernel
Initializes the kernel and starts any internal processing.
initialize() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
initialize() - Method in class com.jme3.network.kernel.udp.UdpKernel
 
initialize(Class) - Method in class com.jme3.network.serializing.Serializer
Registration for when a serializer may need to cache something.
initialize(Class) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
 
initialize(S) - Method in class com.jme3.network.service.AbstractService
Initializes this service by keeping a reference to the service manager and calling onInitialize().
initialize(ClientServiceManager) - Method in interface com.jme3.network.service.ClientService
Called when the service is first attached to the service manager.
initialize(HostedServiceManager) - Method in interface com.jme3.network.service.HostedService
Called when the service is first attached to the service manager.
initialize(S) - Method in interface com.jme3.network.service.Service
Called when the service is first attached to the service manager.
INSTANCE - Static variable in class com.jme3.network.message.SerializerRegistrationsMessage
 
IntSerializer - Class in com.jme3.network.serializing.serializers
The Integer serializer serializes...integers.
IntSerializer() - Constructor for class com.jme3.network.serializing.serializers.IntSerializer
 
invocationId - Variable in class com.jme3.network.rmi.RemoteMethodCallMessage
Invocation ID is used to identify a particular call if the calling client needs the return value of the called RMI method.
invocationID - Variable in class com.jme3.network.rmi.RemoteMethodReturnMessage
Invocation ID that was set in the RemoteMethodCallMessage.
invoke(Object, Method, Object[]) - Method in class com.jme3.network.rmi.RemoteObject
Callback from InvocationHandler.
invoke(Object, Object...) - Method in class com.jme3.network.service.rmi.MethodInfo
 
invoke(Object, Method, Object[]) - Method in class com.jme3.network.service.rmi.RemoteObjectHandler
 
invokeLocal(short, short, Object[]) - Method in class com.jme3.network.service.rmi.RmiRegistry
Handle the actual remote object method calls.
invokeRemote(byte, short, short, CallType, Object[]) - Method in class com.jme3.network.service.rmi.RmiRegistry
 
isAsync() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
isConnected() - Method in class com.jme3.network.base.DefaultClient
 
isConnected() - Method in interface com.jme3.network.Client
Returns true if this client is fully connected to the host.
isConnected() - Method in interface com.jme3.network.kernel.Connector
Returns true if this connector is currently connected.
isConnected() - Method in interface com.jme3.network.kernel.Endpoint
Returns true if this endpoint is currently connected.
isConnected() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
isConnected() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
isConnected() - Method in class com.jme3.network.kernel.udp.UdpConnector
 
isConnected() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
isReadOnly() - Static method in class com.jme3.network.serializing.Serializer
 
isReliable() - Method in class com.jme3.network.AbstractMessage
Indicates which way an outgoing message should be sent or which way an incoming message was sent.
isReliable() - Method in class com.jme3.network.kernel.Envelope
 
isReliable() - Method in interface com.jme3.network.Message
Indicates which way an outgoing message should be sent or which way an incoming message was sent.
isRunning() - Method in class com.jme3.network.base.DefaultServer
 
isRunning() - Method in interface com.jme3.network.Server
Returns true if the server has been started.
isSerializable(Throwable) - Static method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
isStarted() - Method in class com.jme3.network.base.DefaultClient
 
isStarted() - Method in interface com.jme3.network.Client
Returns true if this client has been started and is still running.
isStarted() - Method in class com.jme3.network.service.ServiceManager
Returns true if this service manager has been started.
isValidMethod(Method, Class) - Method in class com.jme3.network.util.AbstractMessageDelegator
Returns true if the specified method is valid for the specified message type.

K

Kernel - Interface in com.jme3.network.kernel
Defines the basic byte[] passing messaging kernel.
KernelAdapter - Class in com.jme3.network.base
Wraps a single Kernel and forwards new messages to the supplied message dispatcher and new endpoint events to the connection dispatcher.
KernelAdapter(DefaultServer, Kernel, MessageListener<HostedConnection>, boolean) - Constructor for class com.jme3.network.base.KernelAdapter
 
KernelException - Exception in com.jme3.network.kernel
Represents a kernel-level error, usually encapsulating an IOException as its cause.
KernelException(String, Throwable) - Constructor for exception com.jme3.network.kernel.KernelException
 
KernelException(String) - Constructor for exception com.jme3.network.kernel.KernelException
 
KernelFactory - Interface in com.jme3.network.base
Supplied to the DefaultServer to create any additional channel kernels that might be required.
KICK - Static variable in class com.jme3.network.message.DisconnectMessage
 

L

loadMethods(Class<?>) - Method in class com.jme3.network.rmi.RemoteObject
Generates mappings from the given interface into the remote RMI interface's implementation.
LocalObject - Class in com.jme3.network.rmi
Describes a RMI interface on the local machine.
LocalObject() - Constructor for class com.jme3.network.rmi.LocalObject
 
log - Static variable in class com.jme3.network.serializing.Serializer
 
LongSerializer - Class in com.jme3.network.serializing.serializers
The Long serializer.
LongSerializer() - Constructor for class com.jme3.network.serializing.serializers.LongSerializer
 

M

map(String...) - Method in class com.jme3.network.util.AbstractMessageDelegator
Specifically maps the specified methods names, autowiring the parameters.
map(Set<String>) - Method in class com.jme3.network.util.AbstractMessageDelegator
Goes through all of the delegate type's declared methods mapping methods that match the current constraints.
map(Class, String) - Method in class com.jme3.network.util.AbstractMessageDelegator
Manually maps a specified method to the specified message type.
MapSerializer - Class in com.jme3.network.serializing.serializers
 
MapSerializer() - Constructor for class com.jme3.network.serializing.serializers.MapSerializer
 
matches(Method) - Method in class com.jme3.network.service.rmi.MethodInfo
 
Message - Interface in com.jme3.network
Interface implemented by all network messages.
MessageConnection - Interface in com.jme3.network
The source of a received message and the common abstract interface of client->server and server->client objects.
MessageListener<S> - Interface in com.jme3.network
Listener notified about new messages.
MessageListenerRegistry<S> - Class in com.jme3.network.base
Keeps track of message listeners registered to specific types or to any type.
MessageListenerRegistry() - Constructor for class com.jme3.network.base.MessageListenerRegistry
 
MessageProtocol - Class in com.jme3.network.base
Consolidates the conversion of messages to/from byte buffers and provides a rolling message buffer.
MessageProtocol() - Constructor for class com.jme3.network.base.MessageProtocol
 
messageReceived(Object, Message) - Method in class com.jme3.network.base.DefaultClient.Redispatch
 
messageReceived(HostedConnection, Message) - Method in class com.jme3.network.base.DefaultServer.Redispatch
 
messageReceived(S, Message) - Method in class com.jme3.network.base.MessageListenerRegistry
 
messageReceived(S, Message) - Method in interface com.jme3.network.MessageListener
 
messageReceived(Object, Message) - Method in class com.jme3.network.rmi.ObjectStore.ClientEventHandler
 
messageReceived(HostedConnection, Message) - Method in class com.jme3.network.rmi.ObjectStore.ServerEventHandler
 
messageReceived(Client, Message) - Method in class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
 
messageReceived(S, Message) - Method in class com.jme3.network.util.AbstractMessageDelegator
Implementation of the MessageListener's messageReceived() method that will use the current message type mapping to find an appropriate message handling method and call it on the delegate returned by getSourceDelegate().
messageToBuffer(Message, ByteBuffer) - Static method in class com.jme3.network.base.MessageProtocol
Converts a message to a ByteBuffer using the Serializer and the (short length) + data protocol.
MethodDef - Class in com.jme3.network.rmi
Method definition is used to map methods on an RMI interface to an implementation on a remote machine.
MethodDef() - Constructor for class com.jme3.network.rmi.MethodDef
 
methodDefs - Variable in class com.jme3.network.rmi.ObjectDef
Method definitions of the implementation.
methodId - Variable in class com.jme3.network.rmi.RemoteMethodCallMessage
The method ID used for look-up in the LocalObject.methods array.
MethodInfo - Class in com.jme3.network.service.rmi
Internal information about shared methods.
MethodInfo() - Constructor for class com.jme3.network.service.rmi.MethodInfo
For serialization only.
MethodInfo(short, Method) - Constructor for class com.jme3.network.service.rmi.MethodInfo
 
methods - Variable in class com.jme3.network.rmi.ObjectDef
Methods of the implementation on the local client.
methodToString(Method) - Static method in class com.jme3.network.service.rmi.MethodInfo
 
miss(HostedConnection) - Method in class com.jme3.network.util.SessionDataDelegator
Called internally when there is no session object for the current attribute name attached to the passed source HostConnection.

N

name - Variable in class com.jme3.network.rmi.MethodDef
Method name
NamedThreadFactory - Class in com.jme3.network.kernel
A simple factory that delegates to java.util.concurrent's default thread factory but adds a prefix to the beginning of the thread name.
NamedThreadFactory(String) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
 
NamedThreadFactory(String, boolean) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
 
NamedThreadFactory(String, ThreadFactory) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
 
NamedThreadFactory(String, boolean, ThreadFactory) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
 
Network - Class in com.jme3.network
The main service provider for conveniently creating server and client instances.
Network() - Constructor for class com.jme3.network.Network
 
Network.NetworkClientImpl - Class in com.jme3.network
 
Network.NetworkClientImpl(String, int) - Constructor for class com.jme3.network.Network.NetworkClientImpl
 
NetworkClient - Interface in com.jme3.network
A Client whose network connection information can be provided post-creation.
newData(NioEndpoint, SocketChannel, ByteBuffer, int) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
newData(DatagramPacket) - Method in class com.jme3.network.kernel.udp.UdpKernel
 
newThread(Runnable) - Method in class com.jme3.network.kernel.NamedThreadFactory
 
nextEndpointId() - Method in class com.jme3.network.kernel.AbstractKernel
 
nextEvent() - Method in class com.jme3.network.kernel.AbstractKernel
Removes and returnsn one endpoint event from the event queue or null if there are no endpoint events.
nextEvent() - Method in interface com.jme3.network.kernel.Kernel
Removes and returnsn one endpoint event from the event queue or null if there are no endpoint events.
NioEndpoint - Class in com.jme3.network.kernel.tcp
Endpoint implementation that encapsulates the channel IO based connection information and keeps track of the outbound data queue for the channel.
NioEndpoint(SelectorKernel, long, SocketChannel) - Constructor for class com.jme3.network.kernel.tcp.NioEndpoint
 
NioKernelFactory - Class in com.jme3.network.base
KernelFactory implemention for creating TCP kernels using the NIO selector model.
NioKernelFactory() - Constructor for class com.jme3.network.base.NioKernelFactory
 
not(Filter<T>) - Static method in class com.jme3.network.Filters
Creates a filter that returns true when the specified delegate filter returns false, and vice versa.
notEqualTo(T) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for inputs that are NOT .equals() equivalent to the specified value.
notIn(T...) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for any value NOT in the specified list of values and false for all other cases.
notIn(Collection<? extends T>) - Static method in class com.jme3.network.Filters
Creates a filter that returns true for any value NOT in the specified collection and false for all other cases.
NULL_INFO - Static variable in class com.jme3.network.service.rmi.MethodInfo
 

O

ObjectDef - Class in com.jme3.network.rmi
 
ObjectDef() - Constructor for class com.jme3.network.rmi.ObjectDef
 
objectId - Variable in class com.jme3.network.rmi.ObjectDef
Object ID
objectId - Variable in class com.jme3.network.rmi.RemoteMethodCallMessage
The object ID on which the call is being made.
ObjectMessageDelegator<S extends MessageConnection> - Class in com.jme3.network.util
A MessageListener implementation that will forward messages to methods of a specified delegate object.
ObjectMessageDelegator(Object, boolean) - Constructor for class com.jme3.network.util.ObjectMessageDelegator
Creates a MessageListener that will forward mapped message types to methods of the specified object.
objectName - Variable in class com.jme3.network.rmi.ObjectDef
The object name, can be null if undefined.
objects - Variable in class com.jme3.network.rmi.RemoteObjectDefMessage
 
ObjectStore - Class in com.jme3.network.rmi
 
ObjectStore(Client) - Constructor for class com.jme3.network.rmi.ObjectStore
 
ObjectStore(Server) - Constructor for class com.jme3.network.rmi.ObjectStore
 
ObjectStore.ClientEventHandler - Class in com.jme3.network.rmi
 
ObjectStore.ClientEventHandler() - Constructor for class com.jme3.network.rmi.ObjectStore.ClientEventHandler
 
ObjectStore.ServerEventHandler - Class in com.jme3.network.rmi
 
ObjectStore.ServerEventHandler() - Constructor for class com.jme3.network.rmi.ObjectStore.ServerEventHandler
 
onInitialize(S) - Method in class com.jme3.network.service.AbstractService
Called during initialize() for the subclass to perform implementation specific initialization.
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.rmi.RmiClientService
 
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.rmi.RmiHostedService
 
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.rpc.RpcClientService
Used internally to setup the RpcConnection and MessageDelegator.
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.rpc.RpcHostedService
Used internally to setup the message delegator that will handle HostedConnection specific messages and forward them to that connection's RpcConnection.
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
 
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
 

P

paramTypes - Variable in class com.jme3.network.rmi.MethodDef
Parameter types
peekPending() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
Called by the SelectorKernel to get the current top buffer for writing.

R

read() - Method in class com.jme3.network.kernel.AbstractKernel
Removes one envelope from the received messages queue or blocks until one is available.
read() - Method in interface com.jme3.network.kernel.Connector
Reads a chunk of data from the connection, blocking if there is no data available.
read() - Method in interface com.jme3.network.kernel.Kernel
Removes one envelope from the received messages queue or blocks until one is available.
read(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
read() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
read() - Method in class com.jme3.network.kernel.udp.UdpConnector
 
readClass(ByteBuffer) - Static method in class com.jme3.network.serializing.Serializer
Read the class from given buffer and return its SerializerRegistration.
readClassAndObject(ByteBuffer) - Static method in class com.jme3.network.serializing.Serializer
Read the class and the object.
readObject(ByteBuffer, Class) - Method in class com.jme3.network.message.ClientRegistrationMessage.ClientRegistrationSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.message.DisconnectMessage.DisconnectSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.rmi.RmiSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.Serializer
Read an object from the buffer, effectively deserializing it.
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.ArraySerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.BooleanSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.ByteSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.CharSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.CollectionSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.DateSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.DoubleSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.EnumSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.FloatSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.GZIPSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.IntSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.LongSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.MapSerializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.SavableSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.SerializableSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.ShortSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.StringSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.Vector3Serializer
 
readObject(ByteBuffer, Class<T>) - Method in class com.jme3.network.serializing.serializers.ZIPSerializer
 
readString(ByteBuffer) - Static method in class com.jme3.network.serializing.serializers.StringSerializer
 
reason - Variable in class com.jme3.network.ClientStateListener.DisconnectInfo
 
register() - Method in class com.jme3.network.message.SerializerRegistrationsMessage.Registration
 
registerAll() - Method in class com.jme3.network.message.SerializerRegistrationsMessage
 
registerClass(Class) - Static method in class com.jme3.network.serializing.Serializer
 
registerClass(Class, boolean) - Static method in class com.jme3.network.serializing.Serializer
Registers the specified class.
registerClass(Class, Serializer) - Static method in class com.jme3.network.serializing.Serializer
 
registerClasses(Class...) - Static method in class com.jme3.network.serializing.Serializer
 
registerClassForId(short, Class, Serializer) - Static method in class com.jme3.network.serializing.Serializer
Directly registers a class for a specific ID.
registerClient(KernelAdapter, Endpoint, ClientRegistrationMessage) - Method in class com.jme3.network.base.DefaultServer
 
registerHandler(short, RpcHandler) - Method in class com.jme3.network.service.rpc.RpcClientService
Register a handler that will be called when the server performs a remove procedure call against this client.
registerHandler(short, RpcHandler) - Method in class com.jme3.network.service.rpc.RpcConnection
Register a handler that can be called by the other end of the connection using the specified object ID.
registerPackage(String) - Static method in class com.jme3.network.serializing.Serializer
Deprecated.
This cannot be implemented in a reasonable way that works in all deployment methods.
RemoteMethodCallMessage - Class in com.jme3.network.rmi
Sent to a remote client to make a remote method invocation.
RemoteMethodCallMessage() - Constructor for class com.jme3.network.rmi.RemoteMethodCallMessage
 
RemoteMethodReturnMessage - Class in com.jme3.network.rmi
Contains the return value for a remote method invocation, sent as a response to a RemoteMethodCallMessage with a non-zero invocationID.
RemoteMethodReturnMessage() - Constructor for class com.jme3.network.rmi.RemoteMethodReturnMessage
 
RemoteObject - Class in com.jme3.network.rmi
Contains various meta-data about an RMI interface.
RemoteObject(ObjectStore, HostedConnection) - Constructor for class com.jme3.network.rmi.RemoteObject
 
RemoteObjectDefMessage - Class in com.jme3.network.rmi
Sent to expose RMI interfaces on the local client to other clients.
RemoteObjectDefMessage() - Constructor for class com.jme3.network.rmi.RemoteObjectDefMessage
 
RemoteObjectHandler - Class in com.jme3.network.service.rmi
Used internally to remotely invoke methods on RMI shared objects.
RemoteObjectHandler(RmiRegistry, byte, short, ClassInfo) - Constructor for class com.jme3.network.service.rmi.RemoteObjectHandler
 
removeClientStateListener(ClientStateListener) - Method in class com.jme3.network.base.DefaultClient
 
removeClientStateListener(ClientStateListener) - Method in interface com.jme3.network.Client
Removes a previously registered connection listener.
removeConnecting(Endpoint) - Method in class com.jme3.network.base.DefaultServer
 
removeConnection(HostedConnection) - Method in class com.jme3.network.service.HostedServiceManager
Called internally when a connection has been removed so that the services can be notified.
removeConnectionListener(ConnectionListener) - Method in class com.jme3.network.base.DefaultServer
 
removeConnectionListener(ConnectionListener) - Method in interface com.jme3.network.Server
Removes a previously registered connection listener.
removeEndpoint(NioEndpoint, SocketChannel) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
removeErrorListener(ErrorListener<? super Client>) - Method in class com.jme3.network.base.DefaultClient
 
removeErrorListener(ErrorListener<? super Client>) - Method in interface com.jme3.network.Client
Removes a previously registered error listener.
removeHandler(short, RpcHandler) - Method in class com.jme3.network.service.rpc.RpcClientService
Removes a previously registered handler for the specified object ID.
removeHandler(short, RpcHandler) - Method in class com.jme3.network.service.rpc.RpcConnection
Removes a previously registered handler for the specified object ID.
removeMessageListener(MessageListener<? super Client>) - Method in class com.jme3.network.base.DefaultClient
 
removeMessageListener(MessageListener<? super Client>, Class...) - Method in class com.jme3.network.base.DefaultClient
 
removeMessageListener(MessageListener<? super HostedConnection>) - Method in class com.jme3.network.base.DefaultServer
 
removeMessageListener(MessageListener<? super HostedConnection>, Class...) - Method in class com.jme3.network.base.DefaultServer
 
removeMessageListener(MessageListener<? super S>) - Method in class com.jme3.network.base.MessageListenerRegistry
 
removeMessageListener(MessageListener<? super S>, Class...) - Method in class com.jme3.network.base.MessageListenerRegistry
 
removeMessageListener(MessageListener<? super Client>) - Method in interface com.jme3.network.Client
Removes a previously registered wildcard listener.
removeMessageListener(MessageListener<? super Client>, Class...) - Method in interface com.jme3.network.Client
Removes a previously registered type-specific listener from the specified types.
removeMessageListener(MessageListener<? super HostedConnection>) - Method in interface com.jme3.network.Server
Removes a previously registered wildcard listener.
removeMessageListener(MessageListener<? super HostedConnection>, Class...) - Method in interface com.jme3.network.Server
Removes a previously registered type-specific listener from the specified types.
removePending() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
Called by the SelectorKernel when the top buffer has been exhausted.
removeRemoteObject(short) - Method in class com.jme3.network.service.rmi.RmiRegistry
 
removeService(ClientService) - Method in class com.jme3.network.service.ClientServiceManager
Removes the specified ClientService from this service manager, stopping and terminating it as required.
removeService(HostedService) - Method in class com.jme3.network.service.HostedServiceManager
Removes the specified HostedService from this service manager, stopping and terminating it as required.
removeService(S) - Method in class com.jme3.network.service.ServiceManager
Removes the specified service from this service manager, stopping and terminating it as required.
reportError(Endpoint, Object, Exception) - Method in class com.jme3.network.base.KernelAdapter
 
reportError(Exception) - Method in class com.jme3.network.kernel.AbstractKernel
 
retType - Variable in class com.jme3.network.rmi.MethodDef
Return type
retVal - Variable in class com.jme3.network.rmi.RemoteMethodReturnMessage
The return value, could be null.
RmiClientService - Class in com.jme3.network.service.rmi
A service that can be added to the client to support a simple shared objects protocol.
RmiClientService() - Constructor for class com.jme3.network.service.rmi.RmiClientService
 
RmiClientService(short, byte) - Constructor for class com.jme3.network.service.rmi.RmiClientService
 
RmiContext - Class in com.jme3.network.service.rmi
Keeps track of the current connection performing a particular RMI call.
RmiContext() - Constructor for class com.jme3.network.service.rmi.RmiContext
 
RmiHostedService - Class in com.jme3.network.service.rmi
A service that can be added to the host to support a simple shared objects protocol.
RmiHostedService() - Constructor for class com.jme3.network.service.rmi.RmiHostedService
 
RmiHostedService(byte) - Constructor for class com.jme3.network.service.rmi.RmiHostedService
 
RmiHostedService(short, byte, boolean) - Constructor for class com.jme3.network.service.rmi.RmiHostedService
 
RmiRegistry - Class in com.jme3.network.service.rmi
 
RmiRegistry(RpcConnection, short, byte) - Constructor for class com.jme3.network.service.rmi.RmiRegistry
 
RmiRegistry(HostedConnection, RpcConnection, short, byte) - Constructor for class com.jme3.network.service.rmi.RmiRegistry
 
RmiSerializer - Class in com.jme3.network.rmi
RmiSerializer is responsible for serializing RMI messages like define object, call, and return.
RmiSerializer() - Constructor for class com.jme3.network.rmi.RmiSerializer
 
rmiUpdate(short, Object[]) - Method in class com.jme3.network.service.rmi.RmiRegistry
Handle remote object registry updates from the other end.
RpcCallMessage - Class in com.jme3.network.service.rpc.msg
Used internally to send RPC call information to the other end of a connection for execution.
RpcCallMessage() - Constructor for class com.jme3.network.service.rpc.msg.RpcCallMessage
 
RpcCallMessage(long, byte, short, short, Object...) - Constructor for class com.jme3.network.service.rpc.msg.RpcCallMessage
 
RpcClientService - Class in com.jme3.network.service.rpc
RPC service that can be added to a network Client to add RPC send/receive capabilities.
RpcClientService() - Constructor for class com.jme3.network.service.rpc.RpcClientService
Creates a new RpcClientService that can be registered with the network Client object.
RpcConnection - Class in com.jme3.network.service.rpc
Wraps a message connection to provide RPC call support.
RpcConnection(MessageConnection) - Constructor for class com.jme3.network.service.rpc.RpcConnection
Creates a new RpcConnection for the specified network connection.
RpcHandler - Interface in com.jme3.network.service.rpc
Implementations of this interface can be registered with the RpcClientService or RpcHostService to handle the remote procedure calls for a given object or objects.
RpcHostedService - Class in com.jme3.network.service.rpc
RPC service that can be added to a network Server to add RPC send/receive capabilities.
RpcHostedService() - Constructor for class com.jme3.network.service.rpc.RpcHostedService
Creates a new RPC host service that can be registered with the Network server and will automatically 'host' RPC services and each new network connection.
RpcHostedService(boolean) - Constructor for class com.jme3.network.service.rpc.RpcHostedService
Creates a new RPC host service that can be registered with the Network server and will optionally 'host' RPC services and each new network connection depending on the specified 'autoHost' flag.
RpcResponseMessage - Class in com.jme3.network.service.rpc.msg
Used internally to send an RPC call's response back to the caller.
RpcResponseMessage() - Constructor for class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
RpcResponseMessage(long, Object) - Constructor for class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
RpcResponseMessage(long, Throwable) - Constructor for class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
run() - Method in class com.jme3.network.base.ConnectorAdapter
 
run() - Method in class com.jme3.network.base.ConnectorAdapter.WriterThread
 
run() - Method in class com.jme3.network.base.KernelAdapter
 
run() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
run() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
 
run() - Method in class com.jme3.network.kernel.udp.UdpKernel.MessageWriter
 

S

SavableSerializer - Class in com.jme3.network.serializing.serializers
 
SavableSerializer() - Constructor for class com.jme3.network.serializing.serializers.SavableSerializer
 
select() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
SelectorKernel - Class in com.jme3.network.kernel.tcp
A Kernel implementation based on NIO selectors.
SelectorKernel(InetAddress, int) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
 
SelectorKernel(int) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
 
SelectorKernel(InetSocketAddress) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
 
SelectorKernel.SelectorThread - Class in com.jme3.network.kernel.tcp
This class is purposely tucked neatly away because messing with the selector from other threads for any reason is very bad.
SelectorKernel.SelectorThread() - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
send(Message) - Method in class com.jme3.network.base.DefaultClient
 
send(int, Message) - Method in class com.jme3.network.base.DefaultClient
 
send(int, Message, boolean) - Method in class com.jme3.network.base.DefaultClient
 
send(Message) - Method in class com.jme3.network.base.DefaultServer.Connection
 
send(int, Message) - Method in class com.jme3.network.base.DefaultServer.Connection
 
send(Message) - Method in interface com.jme3.network.Client
Sends a message to the server.
send(int, Message) - Method in interface com.jme3.network.Client
Sends a message to the other end of the connection using the specified alternate channel.
send(ByteBuffer) - Method in interface com.jme3.network.kernel.Endpoint
Sends data to the other end of the connection represented by this endpoint.
send(ByteBuffer, boolean, boolean) - Method in class com.jme3.network.kernel.tcp.NioEndpoint
The wakeup option is used internally when the kernel is broadcasting out to a bunch of endpoints and doesn't want to necessarily wakeup right away.
send(ByteBuffer) - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
send(ByteBuffer) - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
send(Message) - Method in interface com.jme3.network.MessageConnection
Sends a message to the other end of the connection.
send(int, Message) - Method in interface com.jme3.network.MessageConnection
Sends a message to the other end of the connection using the specified alternate channel.
send(byte, RpcResponseMessage) - Method in class com.jme3.network.service.rpc.RpcConnection
 
Serializable - Annotation Type in com.jme3.network.serializing
Use this annotation when a class is going to be transferred over the network.
SerializableSerializer - Class in com.jme3.network.serializing.serializers
Serializes uses Java built-in method.
SerializableSerializer() - Constructor for class com.jme3.network.serializing.serializers.SerializableSerializer
 
Serializer - Class in com.jme3.network.serializing
The main serializer class, which will serialize objects such that they can be sent across the network.
Serializer() - Constructor for class com.jme3.network.serializing.Serializer
 
SERIALIZER_ID - Static variable in class com.jme3.network.message.ClientRegistrationMessage
 
SERIALIZER_ID - Static variable in class com.jme3.network.message.DisconnectMessage
 
SerializerException - Exception in com.jme3.network.serializing
A general exception from the serialization routines.
SerializerException(String, Throwable) - Constructor for exception com.jme3.network.serializing.SerializerException
 
SerializerException(String) - Constructor for exception com.jme3.network.serializing.SerializerException
 
SerializerRegistration - Class in com.jme3.network.serializing
A SerializerRegistration represents a connection between a class, and its serializer.
SerializerRegistration(Serializer, Class, short) - Constructor for class com.jme3.network.serializing.SerializerRegistration
 
SerializerRegistrationsMessage - Class in com.jme3.network.message
Holds a compiled set of message registration information that can be sent over the wire.
SerializerRegistrationsMessage() - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage
 
SerializerRegistrationsMessage(SerializerRegistrationsMessage.Registration...) - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage
 
SerializerRegistrationsMessage.Registration - Class in com.jme3.network.message
 
SerializerRegistrationsMessage.Registration() - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage.Registration
 
SerializerRegistrationsMessage.Registration(SerializerRegistration) - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage.Registration
 
Server - Interface in com.jme3.network
Represents a host that can send and receive messages to a set of remote client connections.
ServerSerializerRegistrationsService - Class in com.jme3.network.service.serializer
 
ServerSerializerRegistrationsService() - Constructor for class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
 
Service<S> - Interface in com.jme3.network.service
The base interface for managed services.
ServiceManager<T> - Class in com.jme3.network.service
The base service manager class from which the HostedServiceManager and ClientServiceManager classes are derived.
ServiceManager() - Constructor for class com.jme3.network.service.ServiceManager
 
SessionDataDelegator - Class in com.jme3.network.util
A MessageListener implementation that will forward messages to methods of a delegate specified as a HostedConnection session attribute.
SessionDataDelegator(Class, String, boolean) - Constructor for class com.jme3.network.util.SessionDataDelegator
Creates a MessageListener that will forward mapped message types to methods of an object specified as a HostedConnection attribute.
setAttribute(String, Object) - Method in class com.jme3.network.base.DefaultServer.Connection
 
setAttribute(String, Object) - Method in interface com.jme3.network.HostedConnection
Sets a session attribute specific to this connection.
setAutoHost(boolean) - Method in class com.jme3.network.service.AbstractHostedConnectionService
When set to true, all new connections will automatically have hosting services attached to them by calling startHostingOnConnection().
setAutoHost(boolean) - Method in class com.jme3.network.service.rmi.RmiHostedService
Set to true if all new connections should automatically have RMI hosting started.
setGameName(String) - Method in class com.jme3.network.message.ClientRegistrationMessage
 
setId(long) - Method in class com.jme3.network.message.ClientRegistrationMessage
 
setLevel(int) - Static method in class com.jme3.network.message.ZIPCompressedMessage
Set the compression level, where 1 is the best compression but slower and 9 is the weakest compression but the quickest.
setMessage(Message) - Method in class com.jme3.network.message.CompressedMessage
 
setPrimaryConnectors(Connector, Connector, ConnectorFactory) - Method in class com.jme3.network.base.DefaultClient
 
setReadOnly(boolean) - Static method in class com.jme3.network.serializing.Serializer
Can put the registry in a read-only state such that additional attempts to register classes will fail.
setReason(String) - Method in class com.jme3.network.message.DisconnectMessage
 
setReliable(boolean) - Method in class com.jme3.network.AbstractMessage
Sets this message to 'reliable' or not and returns this message.
setReliable(boolean) - Method in interface com.jme3.network.Message
Sets this message to 'reliable' or not and returns this message.
setStrictRegistration(boolean) - Static method in class com.jme3.network.serializing.Serializer
When set to true, classes that do not have intrinsic IDs in their
setType(String) - Method in class com.jme3.network.message.DisconnectMessage
 
setupSelectorOptions() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
setVersion(int) - Method in class com.jme3.network.message.ClientRegistrationMessage
 
share(T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified type.
share(byte, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified type.
share(String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified name.
share(byte, String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified name.
share(T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Exposes the specified object to the other end of the connection as the specified interface type.
share(byte, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Exposes, through a specific connection channel, the specified object to the other end of the connection as the specified interface type.
share(String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Exposes the specified object to the other end of the connection as the specified interface type and associates it with the specified name.
share(byte, String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiRegistry
Exposes, through a specific connection channel, the specified object to the other end of the connection as the specified interface type and associates it with the specified name.
shareGlobal(T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified type.
shareGlobal(String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified name.
shareGlobal(byte, String, T, Class<? super T>) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified name over the specified channel.
ShortSerializer - Class in com.jme3.network.serializing.serializers
Short serializer.
ShortSerializer() - Constructor for class com.jme3.network.serializing.serializers.ShortSerializer
 
shutdown() - Method in class com.jme3.network.base.ConnectorAdapter.WriterThread
 
SocketConnector - Class in com.jme3.network.kernel.tcp
A straight forward socket-based connector implementation that does not use any separate threading.
SocketConnector(InetAddress, int) - Constructor for class com.jme3.network.kernel.tcp.SocketConnector
 
start() - Method in class com.jme3.network.base.DefaultClient
 
start() - Method in class com.jme3.network.base.DefaultServer
 
start() - Method in interface com.jme3.network.Client
Starts the client allowing it to begin processing incoming messages and delivering them to listeners.
start() - Method in interface com.jme3.network.Server
Start the server so that it will began accepting new connections and processing messages.
start() - Method in class com.jme3.network.service.AbstractService
Default implementation does nothing.
start() - Method in interface com.jme3.network.service.ClientService
Called when the service manager is started or if the service is added to an already started service manager.
start() - Method in interface com.jme3.network.service.HostedService
Called when the service manager is started or if the service is added to an already started service manager.
start() - Method in class com.jme3.network.service.rmi.RmiClientService
 
start() - Method in class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
 
start() - Method in interface com.jme3.network.service.Service
Called when the service manager is started or if the service is added to an already started service manager.
start() - Method in class com.jme3.network.service.ServiceManager
Starts this service manager and all services that it contains.
startHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.AbstractHostedConnectionService
Performs implementation specific connection hosting setup.
startHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.rmi.RmiHostedService
Sets up RMI hosting services for the hosted connection allowing getRmiRegistry() to return a valid RmiRegistry object.
startHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.rpc.RpcHostedService
Sets up RPC hosting services for the hosted connection allowing getRpcConnection() to return a valid RPC connection object.
startServices() - Method in class com.jme3.network.base.DefaultClient
 
stop() - Method in class com.jme3.network.service.AbstractService
Default implementation does nothing.
stop() - Method in interface com.jme3.network.service.ClientService
Called when the service is shutting down.
stop() - Method in interface com.jme3.network.service.HostedService
Called when the service is shutting down.
stop() - Method in interface com.jme3.network.service.Service
Called when the service manager is shutting down.
stop() - Method in class com.jme3.network.service.ServiceManager
Stops all services and puts the service manager into a stopped state.
stopHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.AbstractHostedConnectionService
Performs implementation specific connection tear-down.
stopHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.rmi.RmiHostedService
Removes any RMI hosting services associated with the specified connection.
stopHostingOnConnection(HostedConnection) - Method in class com.jme3.network.service.rpc.RpcHostedService
Removes any RPC hosting services associated with the specified connection.
StringSerializer - Class in com.jme3.network.serializing.serializers
String serializer.
StringSerializer() - Constructor for class com.jme3.network.serializing.serializers.StringSerializer
 

T

TcpConnectorFactory - Class in com.jme3.network.base
Creates TCP connectors to a specific remote address.
TcpConnectorFactory(InetAddress) - Constructor for class com.jme3.network.base.TcpConnectorFactory
 
terminate() - Method in interface com.jme3.network.kernel.Kernel
Gracefully terminates the kernel and stops any internal daemon processing.
terminate() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
terminate() - Method in class com.jme3.network.kernel.udp.UdpKernel
 
terminate(S) - Method in class com.jme3.network.service.AbstractService
Default implementation does nothing.
terminate(ClientServiceManager) - Method in interface com.jme3.network.service.ClientService
The service manager is fully shutting down.
terminate(HostedServiceManager) - Method in interface com.jme3.network.service.HostedService
The service manager is fully shutting down.
terminate(ClientServiceManager) - Method in class com.jme3.network.service.rpc.RpcClientService
Used internally to unregister the RPC MessageDelegator that was previously added to the network Client.
terminate(HostedServiceManager) - Method in class com.jme3.network.service.rpc.RpcHostedService
Used internally to remove the message delegator from the server.
terminate(S) - Method in interface com.jme3.network.service.Service
The service manager is fully shutting down.
terminate() - Method in class com.jme3.network.service.ServiceManager
Terminates all services.
toString() - Method in class com.jme3.network.base.DefaultServer.Connection
 
toString() - Method in class com.jme3.network.ClientStateListener.DisconnectInfo
 
toString() - Method in class com.jme3.network.kernel.EndpointEvent
 
toString() - Method in class com.jme3.network.kernel.Envelope
 
toString() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
toString() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
toString() - Method in class com.jme3.network.message.ChannelInfoMessage
 
toString() - Method in class com.jme3.network.message.ClientRegistrationMessage
 
toString() - Method in class com.jme3.network.message.DisconnectMessage
 
toString() - Method in class com.jme3.network.message.SerializerRegistrationsMessage.Registration
 
toString() - Method in class com.jme3.network.rmi.ObjectDef
 
toString() - Method in class com.jme3.network.rmi.RemoteMethodCallMessage
 
toString() - Method in class com.jme3.network.rmi.RemoteMethodReturnMessage
 
toString() - Method in class com.jme3.network.rmi.RemoteObjectDefMessage
 
toString() - Method in class com.jme3.network.serializing.SerializerRegistration
 
toString() - Method in class com.jme3.network.service.AbstractService
 
toString() - Method in class com.jme3.network.service.rmi.ClassInfo
 
toString() - Method in class com.jme3.network.service.rmi.MethodInfo
 
toString() - Method in class com.jme3.network.service.rmi.RemoteObjectHandler
 
toString() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
 
toString() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
 
toString() - Method in class com.jme3.network.service.ServiceManager
 

U

UdpConnector - Class in com.jme3.network.kernel.udp
A straight forward datagram socket-based UDP connector implementation.
UdpConnector(InetAddress, int) - Constructor for class com.jme3.network.kernel.udp.UdpConnector
Creates a new UDP connection that send datagrams to the specified address and port.
UdpEndpoint - Class in com.jme3.network.kernel.udp
Endpoint implementation that encapsulates the UDP connection information for return messaging, identification of envelope sources, etc.
UdpEndpoint(UdpKernel, long, SocketAddress, DatagramSocket) - Constructor for class com.jme3.network.kernel.udp.UdpEndpoint
 
UdpKernel - Class in com.jme3.network.kernel.udp
A Kernel implementation using UDP packets.
UdpKernel(InetAddress, int) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
 
UdpKernel(int) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
 
UdpKernel(InetSocketAddress) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
 
UdpKernel.HostThread - Class in com.jme3.network.kernel.udp
 
UdpKernel.HostThread() - Constructor for class com.jme3.network.kernel.udp.UdpKernel.HostThread
 
UdpKernel.MessageWriter - Class in com.jme3.network.kernel.udp
 
UdpKernel.MessageWriter(Endpoint, DatagramPacket) - Constructor for class com.jme3.network.kernel.udp.UdpKernel.MessageWriter
 
USER_REQUESTED - Static variable in class com.jme3.network.message.DisconnectMessage
 

V

valueOf(String) - Static method in enum com.jme3.network.kernel.EndpointEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.jme3.network.service.rmi.CallType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.jme3.network.kernel.EndpointEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.jme3.network.service.rmi.CallType
Returns an array containing the constants of this enum type, in the order they are declared.
Vector3Serializer - Class in com.jme3.network.serializing.serializers
 
Vector3Serializer() - Constructor for class com.jme3.network.serializing.serializers.Vector3Serializer
 

W

waitForConnected() - Method in class com.jme3.network.base.DefaultClient
 
wakeupReader() - Method in class com.jme3.network.kernel.AbstractKernel
 
wakeupSelector() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
wakeupSelector() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
Used internally by the endpoints to wakeup the selector when they have data to send.
write(ByteBuffer) - Method in class com.jme3.network.base.ConnectorAdapter
 
write(ByteBuffer) - Method in interface com.jme3.network.kernel.Connector
Writes a chunk of data to the connection from data.position() to data.limit().
write(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
 
write(ByteBuffer) - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
write(ByteBuffer) - Method in class com.jme3.network.kernel.udp.UdpConnector
 
writeClass(ByteBuffer, Class) - Static method in class com.jme3.network.serializing.Serializer
Write a class and return its SerializerRegistration.
writeClassAndObject(ByteBuffer, Object) - Static method in class com.jme3.network.serializing.Serializer
Write the class and object.
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.message.ClientRegistrationMessage.ClientRegistrationSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.message.DisconnectMessage.DisconnectSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.rmi.RmiSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.Serializer
Write an object to the buffer, effectively serializing it.
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.ArraySerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.BooleanSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.ByteSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.CharSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.CollectionSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.DateSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.DoubleSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.EnumSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.FloatSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.GZIPSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.IntSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.LongSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.MapSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.SavableSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.SerializableSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.ShortSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.StringSerializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.Vector3Serializer
 
writeObject(ByteBuffer, Object) - Method in class com.jme3.network.serializing.serializers.ZIPSerializer
 
writeString(String, ByteBuffer) - Static method in class com.jme3.network.serializing.serializers.StringSerializer
 

Z

ZIPCompressedMessage - Class in com.jme3.network.message
Compress a message using this ZIPCompressedMessage class
ZIPCompressedMessage() - Constructor for class com.jme3.network.message.ZIPCompressedMessage
 
ZIPCompressedMessage(Message) - Constructor for class com.jme3.network.message.ZIPCompressedMessage
 
ZIPCompressedMessage(Message, int) - Constructor for class com.jme3.network.message.ZIPCompressedMessage
 
ZIPSerializer - Class in com.jme3.network.serializing.serializers
Serializes ZIP messages.
ZIPSerializer() - Constructor for class com.jme3.network.serializing.serializers.ZIPSerializer
 
A B C D E F G H I K L M N O P R S T U V W Z 
jMonkeyEngine 3.1 jme3-networking