Index

A B C D E F G H I K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

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
Creates an uninitialized client service.
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
Creates an uninitialized hosted service.
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
Creates a kernel base with empty event and envelope queues.
AbstractMessage - Class in com.jme3.network
Interface implemented by all network messages.
AbstractMessage() - Constructor for class com.jme3.network.AbstractMessage
Creates a reliable message by default.
AbstractMessage(boolean) - Constructor for class com.jme3.network.AbstractMessage
Creates a message with the specified reliability.
AbstractMessageDelegator<S> - 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> - 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
Creates an uninitialized service.
accept(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Accepts a new incoming TCP connection.
ADD - Enum constant in enum class com.jme3.network.kernel.EndpointEvent.Type
Endpoint added.
addBytes(ByteBuffer) - Method in interface com.jme3.network.base.MessageBuffer
Adds byte data to the message buffer.
addBytes(ByteBuffer) - Method in class com.jme3.network.base.protocol.GreedyMessageBuffer
Adds byte data to the message buffer.
addBytes(ByteBuffer) - Method in class com.jme3.network.base.protocol.LazyMessageBuffer
Adds byte data to the message buffer.
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
Creates and registers a new endpoint for the accepted channel.
addEnvelope(Envelope) - Method in class com.jme3.network.kernel.AbstractKernel
Adds an envelope to the pending message queue.
addErrorListener(ErrorListener) - Method in class com.jme3.network.base.DefaultClient
 
addErrorListener(ErrorListener) - 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
Adds an endpoint event to the pending event queue.
addMessageListener(MessageListener) - Method in class com.jme3.network.base.DefaultClient
 
addMessageListener(MessageListener) - 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, Class...) - Method in class com.jme3.network.base.DefaultClient
 
addMessageListener(MessageListener, 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) - Method in class com.jme3.network.base.DefaultServer
 
addMessageListener(MessageListener) - 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, Class...) - Method in class com.jme3.network.base.DefaultServer
 
addMessageListener(MessageListener, 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.
addMessageListener(MessageListener) - Method in class com.jme3.network.base.MessageListenerRegistry
Adds a wildcard listener that receives all messages.
addMessageListener(MessageListener, Class...) - Method in class com.jme3.network.base.MessageListenerRegistry
Adds a listener for the specified message classes.
addRemoteClass(ClassInfo) - Method in class com.jme3.network.service.rmi.RmiRegistry
Registers remote class metadata announced by the far end.
addRemoteObject(byte, short, String, ClassInfo) - Method in class com.jme3.network.service.rmi.RmiRegistry
Registers a remote object proxy from metadata received over the wire.
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 the specified services and initializes them.
addServices(HostedService...) - Method in class com.jme3.network.service.HostedServiceManager
Adds the specified services and initializes them.
addStandardServices() - Method in class com.jme3.network.base.DefaultClient
Adds the default client services.
addStandardServices() - Method in class com.jme3.network.base.DefaultServer
Adds the default hosted services.
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
Creates an array serializer.
Asynchronous - Enum constant in enum class com.jme3.network.service.rmi.CallType
Caller does not block or wait for a response.
Asynchronous - Annotation Interface 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
Hosted connection attribute used to store the connection-specific RMI registry.
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
Creates a boolean serializer.
broadcast(int, Filter, Message) - Method in class com.jme3.network.base.DefaultServer
 
broadcast(int, Filter, 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.
broadcast(Filter, Message) - Method in class com.jme3.network.base.DefaultServer
 
broadcast(Filter, Message) - Method in interface com.jme3.network.Server
Sends the specified message to all connected clients that match the filter.
broadcast(Filter, ByteBuffer, boolean, boolean) - Method in class com.jme3.network.base.KernelAdapter
Broadcasts raw bytes through the wrapped kernel.
broadcast(Filter, 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, ByteBuffer, boolean, boolean) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
 
broadcast(Filter, 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 class com.jme3.network.base.DefaultServer
 
broadcast(Message) - Method in interface com.jme3.network.Server
Sends the specified message to all connected clients.
ByteSerializer - Class in com.jme3.network.serializing.serializers
Byte serializer.
ByteSerializer() - Constructor for class com.jme3.network.serializing.serializers.ByteSerializer
Creates a byte serializer.

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 Class 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
Cancels and closes the specified endpoint.
cancel(SelectionKey, SocketChannel) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Cancels and closes the specified selection key and channel.
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
Creates an empty channel info message for serialization.
ChannelInfoMessage(long, List) - Constructor for class com.jme3.network.message.ChannelInfoMessage
Creates a message describing the server id and extra ports.
CharSerializer - Class in com.jme3.network.serializing.serializers
Char serializer.
CharSerializer() - Constructor for class com.jme3.network.serializing.serializers.CharSerializer
Creates a char serializer.
checkChannel(int) - Method in class com.jme3.network.base.DefaultServer
Validates an alternate server channel index.
checkClass(Class) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
Validates and caches the reflective access metadata for a class.
checkClosed() - Method in class com.jme3.network.kernel.tcp.SocketConnector
Ensures the connector has not been closed.
checkClosed() - Method in class com.jme3.network.kernel.udp.UdpConnector
Ensures the connector has not been closed.
checkRunning() - Method in class com.jme3.network.base.DefaultClient
Ensures the client has been started.
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
Creates shared class metadata for the specified type.
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
Creates an empty registry for shared class metadata.
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
 
ClientEventHandler() - Constructor for class com.jme3.network.rmi.ObjectStore.ClientEventHandler
Creates the client-side event handler.
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
Creates an empty registration message for serialization.
ClientRegistrationMessage.ClientRegistrationSerializer - Class in com.jme3.network.message
A message-specific serializer to avoid compatibility issues between versions.
ClientRegistrationSerializer() - Constructor for class com.jme3.network.message.ClientRegistrationMessage.ClientRegistrationSerializer
Creates the serializer used for client registration messages.
ClientSerializerRegistrationsService - Class in com.jme3.network.service.serializer
Receives serializer registration updates from the server and applies them on the client.
ClientSerializerRegistrationsService() - Constructor for class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
Creates the client-side serializer registration service.
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.
close() - Method in class com.jme3.network.base.ConnectorAdapter
Closes the adapter and its underlying connector.
close() - Method in class com.jme3.network.base.DefaultClient
 
close() - Method in class com.jme3.network.base.DefaultServer
 
close() - Method in class com.jme3.network.base.KernelAdapter
Closes the adapter and terminates the wrapped kernel.
close() - Method in interface com.jme3.network.Client
Closes this connection to the server.
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() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
close() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Stops the selector thread and closes its resources.
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() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
Stops the host thread and closes its socket.
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(boolean) - Method in interface com.jme3.network.kernel.Endpoint
Closes this endpoint, optionally flushing any queued data before closing.
close(boolean) - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
close(boolean) - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
close(String) - Method in class com.jme3.network.base.DefaultServer.Connection
 
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_MARKER - Static variable in class com.jme3.network.kernel.tcp.NioEndpoint
Marker queued to request endpoint closure after pending writes flush.
closeConnection() - Method in class com.jme3.network.base.DefaultServer.Connection
Closes all endpoints associated with this hosted connection.
closeConnections(ClientStateListener.DisconnectInfo) - Method in class com.jme3.network.base.DefaultClient
Closes all connectors and terminates client services.
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
Creates a collection serializer.
com.jme3.network - package com.jme3.network
 
com.jme3.network.base - package com.jme3.network.base
 
com.jme3.network.base.protocol - package com.jme3.network.base.protocol
 
com.jme3.network.kernel - package com.jme3.network.kernel
 
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
Compiles the current serializer registry into a transferable message.
compiled - Static variable in class com.jme3.network.message.SerializerRegistrationsMessage
Cached compiled registration entries.
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
Creates an empty compressed message for serialization.
CompressedMessage(Message) - Constructor for class com.jme3.network.message.CompressedMessage
Creates a compressed wrapper for the specified message.
configureChannels(long, int[]) - Method in class com.jme3.network.base.DefaultClient
Configures any additional channels announced by the server.
connect() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Opens and binds the selector infrastructure.
connect() - Method in class com.jme3.network.kernel.udp.UdpKernel.HostThread
Opens and binds the host datagram socket.
Connection(int) - Constructor for class com.jme3.network.base.DefaultServer.Connection
Creates a hosted connection state holder.
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
Handles closure of an endpoint and removes any associated connection state.
connectionClosed(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
Handles endpoint closure and clears any buffered message state.
ConnectionListener - Interface in com.jme3.network
Listener that is notified about connection arrivals and removals within a server.
ConnectionObserver() - Constructor for class com.jme3.network.service.HostedServiceManager.ConnectionObserver
Creates the connection observer.
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, MessageProtocol, MessageListener, ErrorListener, boolean) - Constructor for class com.jme3.network.base.ConnectorAdapter
Creates an adapter for a connector and starts a background writer thread.
ConnectorAdapter.WriterThread - Class in com.jme3.network.base
Background writer thread that drains the outbound queue.
ConnectorException - Exception Class in com.jme3.network.kernel
Represents a client-side connection error, usually encapsulating an IOException as its cause.
ConnectorException(String) - Constructor for exception class com.jme3.network.kernel.ConnectorException
Creates a connector exception with a message.
ConnectorException(String, Throwable) - Constructor for exception class com.jme3.network.kernel.ConnectorException
Creates a connector exception with a message and cause.
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, 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(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 separate TCP and UDP ports using both reliable and fast transports.
connectToServer(InetAddress, int, int) - Method in class com.jme3.network.Network.NetworkClientImpl
 
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
Creates an endpoint-added event.
createAndDispatch(EndpointEvent) - Method in class com.jme3.network.base.KernelAdapter
Handles a kernel endpoint event.
createAndDispatch(Envelope) - Method in class com.jme3.network.base.KernelAdapter
Decodes an envelope into messages and dispatches them.
createBuffer() - Method in interface com.jme3.network.base.MessageProtocol
Creates a rolling message buffer compatible with this protocol.
createBuffer() - Method in class com.jme3.network.base.protocol.SerializerMessageProtocol
 
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
Creates a connector for the specified channel and remote port.
createConnector(int, int) - Method in class com.jme3.network.base.TcpConnectorFactory
 
createHostThread() - Method in class com.jme3.network.kernel.udp.UdpKernel
Creates the host thread implementation used by this kernel.
createKernel(int, int) - Method in interface com.jme3.network.base.KernelFactory
Creates a kernel for the specified channel and port.
createKernel(int, int) - Method in class com.jme3.network.base.NioKernelFactory
 
createRemove(Kernel, Endpoint) - Static method in class com.jme3.network.kernel.EndpointEvent
Creates an endpoint-removed event.
createSelectorThread() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
Creates the selector thread implementation used by this kernel.
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
Creates a date serializer.
DEFAULT - Static variable in interface com.jme3.network.base.KernelFactory
Default kernel factory implementation.
DEFAULT_GAME_NAME - Static variable in class com.jme3.network.Network
Default game name used by the convenience factory methods.
DEFAULT_VERSION - Static variable in class com.jme3.network.Network
Default protocol version used by the convenience factory methods.
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
Creates a client with the specified game name and protocol version.
DefaultClient(String, int, Connector, Connector, ConnectorFactory) - Constructor for class com.jme3.network.base.DefaultClient
Creates a client with preconfigured reliable and optional fast connectors.
DefaultClient.Redispatch - Class in com.jme3.network.base
Bridges connector callbacks back into this client instance.
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
Creates a server with the specified game name, version, and primary kernels.
DefaultServer.Connection - Class in com.jme3.network.base
Hosted connection implementation backed by one or more endpoints.
DefaultServer.FilterAdapter - Class in com.jme3.network.base
Adapts hosted-connection filters to endpoint filters.
DefaultServer.Redispatch - Class in com.jme3.network.base
Bridges kernel adapter callbacks back into the server.
DisconnectInfo() - Constructor for class com.jme3.network.ClientStateListener.DisconnectInfo
Creates an empty disconnect information object.
DisconnectMessage - Class in com.jme3.network.message
Represents a disconnect message.
DisconnectMessage() - Constructor for class com.jme3.network.message.DisconnectMessage
Creates an empty disconnect message for serialization.
DisconnectMessage.DisconnectSerializer - Class in com.jme3.network.message
A message-specific serializer to avoid compatibility issues between versions.
DisconnectSerializer() - Constructor for class com.jme3.network.message.DisconnectMessage.DisconnectSerializer
Creates the serializer used for disconnect messages.
dispatch(HostedConnection, Message) - Method in class com.jme3.network.base.DefaultServer
Dispatches a received message to registered listeners.
dispatch(Endpoint, Message) - Method in class com.jme3.network.base.KernelAdapter
Note on threading for those writing their own server or adapter implementations.
dispatch(Message) - Method in class com.jme3.network.base.ConnectorAdapter
Dispatches a decoded message to the configured listener.
dispatch(Message) - Method in class com.jme3.network.base.DefaultClient
Dispatches a received message, handling connection-management messages internally.
DoubleSerializer - Class in com.jme3.network.serializing.serializers
Double serializer.
DoubleSerializer() - Constructor for class com.jme3.network.serializing.serializers.DoubleSerializer
Creates a double serializer.

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
Creates an endpoint event.
EndpointEvent.Type - Enum Class in com.jme3.network.kernel
Enumerates the supported endpoint event types.
enqueueWrite(Endpoint, DatagramPacket) - Method in class com.jme3.network.kernel.udp.UdpKernel
Queues a datagram for asynchronous sending.
EnumSerializer - Class in com.jme3.network.serializing.serializers
Enum serializer.
EnumSerializer() - Constructor for class com.jme3.network.serializing.serializers.EnumSerializer
Creates an enum serializer.
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
The underlying disconnect cause, if one is available.
ERROR - Static variable in class com.jme3.network.message.DisconnectMessage
Disconnect type used when an error closed the connection.
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
Exposes a local object to the remote side under the specified name.

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
Creates a reflective field serializer.
Filter<T> - Interface in com.jme3.network
Determines a true or false value for a given input.
FilterAdapter(Filter) - Constructor for class com.jme3.network.base.DefaultServer.FilterAdapter
Creates a filter adapter.
FILTERED - Static variable in class com.jme3.network.message.DisconnectMessage
Disconnect type used when a message or client was filtered.
Filters - Class in com.jme3.network
Static utility methods pertaining to Filter instances.
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
Notifies registered state listeners that the client connected.
fireConnectionAdded(HostedConnection) - Method in class com.jme3.network.base.DefaultServer
Notifies registered listeners that a connection was added.
fireConnectionRemoved(HostedConnection) - Method in class com.jme3.network.base.DefaultServer
Notifies registered listeners that a connection was removed.
fireDisconnected(ClientStateListener.DisconnectInfo) - Method in class com.jme3.network.base.DefaultClient
Notifies registered state listeners that the client disconnected.
FloatSerializer - Class in com.jme3.network.serializing.serializers
Float serializer.
FloatSerializer() - Constructor for class com.jme3.network.serializing.serializers.FloatSerializer
Creates a float serializer.
flushEvents() - Method in class com.jme3.network.base.KernelAdapter
Drains and processes all currently queued kernel events.

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
Returns the invocation arguments.
getAttribute(String) - Method in class com.jme3.network.base.DefaultServer.Connection
 
getAttribute(String) - Method in interface com.jme3.network.HostedConnection
Retrieves a previously 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
Returns the call type for the shared method.
getCallType(Method) - Static method in class com.jme3.network.service.rmi.MethodInfo
Resolves the call type for a reflected method.
getChannel() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
Returns the channel used for the invocation.
getChannel(KernelAdapter) - Method in class com.jme3.network.base.DefaultServer
Returns the internal channel index for the specified adapter or -1 if not found
getClassInfo(Class) - Method in class com.jme3.network.service.rmi.ClassInfoRegistry
Returns cached metadata for a shared type, creating it on first access.
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.
getCompressionLevel() - Method in class com.jme3.network.message.ZIPCompressedMessage
Returns this message's configured ZIP compression level.
getConnection(int) - Method in class com.jme3.network.base.DefaultServer
 
getConnection(int) - Method in interface com.jme3.network.Server
Retrieves a hosted connection by ID.
getConnection(Endpoint) - Method in class com.jme3.network.base.DefaultServer
Resolves a hosted connection from an endpoint.
getConnection(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
Resolves a hosted connection from an endpoint.
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
Returns the received bytes.
getEndpoint() - Method in class com.jme3.network.kernel.EndpointEvent
Returns the endpoint involved in the event.
getEndpoint(SocketAddress, boolean) - Method in class com.jme3.network.kernel.udp.UdpKernel
Returns the endpoint for the specified socket address, optionally creating it.
getError() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
Returns the serialized error text, if any.
getExactSerializer(Class) - Static method in class com.jme3.network.serializing.Serializer
Returns the serializer registered directly for the specified class.
getExactSerializerRegistration(Class) - Static method in class com.jme3.network.serializing.Serializer
Returns the registration directly associated with the specified class.
getExposedObject(String, Class, boolean) - Method in class com.jme3.network.rmi.ObjectStore
Looks up an exposed remote object and returns a proxy implementing the requested type.
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
Returns the game name expected by the server.
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
Returns the server identifier associated with this message.
getId() - Method in class com.jme3.network.message.ClientRegistrationMessage
Returns the client identifier that couples reliable and unreliable channels.
getId() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the ID.
getId() - Method in class com.jme3.network.service.rmi.ClassInfo
Returns the network id assigned to this type.
getId() - Method in class com.jme3.network.service.rmi.MethodInfo
Returns the shared method id.
getKernel() - Method in class com.jme3.network.base.KernelAdapter
Returns the wrapped kernel.
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
Returns the listeners registered for a specific message class.
getLocalObject(Class) - 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) - 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.message.CompressedMessage
Returns the wrapped message payload.
getMessageBuffer(Endpoint) - Method in class com.jme3.network.base.KernelAdapter
Returns the message buffer used to accumulate bytes for an endpoint.
getMessageId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
Returns the RPC message id.
getMessageId() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
Returns the RPC response message id.
getMessageType(Method) - Method in class com.jme3.network.util.AbstractMessageDelegator
Convenience method that returns the message type as reflectively 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
Returns the method metadata associated with the specified id.
getMethod(Class) - Method in class com.jme3.network.util.AbstractMessageDelegator
Returns the mapped method for the specified message type.
getMethod(Method) - Method in class com.jme3.network.service.rmi.ClassInfo
Finds method metadata matching the specified reflected method.
getMethodInfo(Method) - Method in class com.jme3.network.service.rmi.RemoteObjectHandler
Resolves cached method metadata for a reflected method.
getMethods() - Method in class com.jme3.network.service.rmi.ClassInfo
Returns the method metadata array for this shared type.
getName() - Method in class com.jme3.network.service.rmi.ClassInfo
Returns the binary name of the shared type.
getObjectId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
Returns the remote object id.
getParent() - Method in class com.jme3.network.service.ClientServiceManager
Returns 'this' and is what is passed to ClientService.initialize() and ClientService.terminate();
getParent() - Method in class com.jme3.network.service.HostedServiceManager
Returns 'this' and is what is passed to HostedService.initialize() and HostedService.terminate();
getParent() - Method in class com.jme3.network.service.ServiceManager
Retrieves the 'parent' of this service manager, usually a more specifically typed version of 'this' but it can be anything the services are expecting.
getPorts() - Method in class com.jme3.network.message.ChannelInfoMessage
Returns the extra ports advertised by the server.
getProcedureId() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
Returns the remote procedure id.
getReason() - Method in class com.jme3.network.message.DisconnectMessage
Returns the disconnect reason text.
getRemoteAddress() - Method in class com.jme3.network.kernel.udp.UdpEndpoint
Returns the remote socket address for this endpoint.
getRemoteObject(Class) - 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(Class) - 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) - 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(String, Class) - 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
Returns the invocation result.
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 HostedConnection.
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() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the serializer.
getSerializer(Class) - Static method in class com.jme3.network.serializing.Serializer
Returns the serializer for the specified class using the configured miss behavior.
getSerializer(Class, boolean) - Static method in class com.jme3.network.serializing.Serializer
Returns the serializer for the specified class.
getSerializerRegistration(Class) - Static method in class com.jme3.network.serializing.Serializer
Returns the registration for the specified class using the configured miss behavior.
getSerializerRegistration(Class, boolean) - Static method in class com.jme3.network.serializing.Serializer
Returns the registration for the specified class.
getSerializerRegistrations() - Static method in class com.jme3.network.serializing.Serializer
Returns the ordered collection of current serializer registrations.
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) - Method in class com.jme3.network.service.ServiceManager
Retrieves the first service of the specified type.
getService(Class) - Method in class com.jme3.network.service.AbstractService
Retrieves the first sibling 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
Returns the datagram socket used by the host thread.
getSource() - Method in class com.jme3.network.kernel.EndpointEvent
Returns the kernel that produced the event.
getSource() - Method in class com.jme3.network.kernel.Envelope
Returns the endpoint that produced the data.
getSourceDelegate(HostedConnection) - Method in class com.jme3.network.util.SessionDataDelegator
Returns the attributeName attribute of the supplied source HostConnection.
getSourceDelegate(MessageConnection) - Method in class com.jme3.network.util.ObjectMessageDelegator
 
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.
getThrowable() - Method in class com.jme3.network.service.rpc.msg.RpcResponseMessage
Returns the serialized throwable, if present.
getType() - Method in class com.jme3.network.kernel.EndpointEvent
Returns the event type.
getType() - Method in class com.jme3.network.message.DisconnectMessage
Returns the disconnect category.
getType() - Method in class com.jme3.network.serializing.SerializerRegistration
Get the class type.
getType() - Method in class com.jme3.network.service.rmi.ClassInfo
Resolves the shared type into a Class.
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
Returns the protocol or game version expected by the server.
getVersion() - Method in interface com.jme3.network.Server
Returns the game-specific version of this server used for detecting mismatched clients.
GreedyMessageBuffer - Class in com.jme3.network.base.protocol
A MessageBuffer implementation that will aggressively create all messages as byte data comes in.
GreedyMessageBuffer(MessageProtocol) - Constructor for class com.jme3.network.base.protocol.GreedyMessageBuffer
Creates a greedy message buffer for the specified protocol.
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
Creates an empty gzip-compressed message for serialization.
GZIPCompressedMessage(Message) - Constructor for class com.jme3.network.message.GZIPCompressedMessage
Creates a gzip-compressed wrapper for the specified message.
GZIPSerializer - Class in com.jme3.network.serializing.serializers
Serializes GZIP messages.
GZIPSerializer() - Constructor for class com.jme3.network.serializing.serializers.GZIPSerializer
Creates a gzip serializer.

H

handleError(Exception) - Method in class com.jme3.network.base.ConnectorAdapter
Reports an adapter or connector error if the adapter is still active.
handleError(Object, Throwable) - Method in class com.jme3.network.base.DefaultClient.Redispatch
 
handleError(Throwable) - Method in class com.jme3.network.base.DefaultClient
Either calls the ErrorListener or closes the connection if there are no listeners.
handleError(S, Throwable) - Method in interface com.jme3.network.ErrorListener
Handles an error that occurred on the specified source.
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
 
hasMessages() - Method in interface com.jme3.network.base.MessageBuffer
Returns true if there is a message waiting in the buffer.
hasMessages() - Method in class com.jme3.network.base.protocol.GreedyMessageBuffer
Returns true if there is a message waiting in the buffer.
hasMessages() - Method in class com.jme3.network.base.protocol.LazyMessageBuffer
Returns true if there is a message waiting in the buffer.
hasPending() - Method in class com.jme3.network.kernel.tcp.NioEndpoint
Returns true if outbound data is queued for this endpoint.
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
Observes server connection events and forwards them to hosted services.
HostThread() - Constructor for class com.jme3.network.kernel.udp.UdpKernel.HostThread
Creates the host thread.

I

id() - Element in annotation interface com.jme3.network.serializing.Serializable
Returns the fixed serializer id for the annotated type, or 0 for auto-assignment.
ignore - Static variable in class com.jme3.network.message.SerializerRegistrationsMessage
Classes that are already built into serializer initialization and should not be re-sent.
in(Collection) - 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.
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.
initialize() - Method in class com.jme3.network.base.KernelAdapter
Initializes the wrapped kernel.
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() - Static method in class com.jme3.network.serializing.Serializer
Reinitializes the global serializer registry with the built-in registrations.
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(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(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
Cached compiled registration message used for new connections.
IntSerializer - Class in com.jme3.network.serializing.serializers
The Integer serializer serializes...integers.
IntSerializer() - Constructor for class com.jme3.network.serializing.serializers.IntSerializer
Creates an integer serializer.
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, Object...) - Method in class com.jme3.network.service.rmi.MethodInfo
Invokes the reflected method on the specified target.
invoke(Object, Method, Object[]) - Method in class com.jme3.network.rmi.RemoteObject
Callback from InvocationHandler.
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
Invokes a remote procedure through the configured RPC layer.
isAsync() - Method in class com.jme3.network.service.rpc.msg.RpcCallMessage
Returns whether this call is asynchronous.
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
Returns whether the registry is locked against new registrations.
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
Returns whether the data arrived over a reliable transport.
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
Returns whether the throwable chain can be serialized directly.
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, MessageProtocol, MessageListener, boolean) - Constructor for class com.jme3.network.base.KernelAdapter
Creates an adapter for a kernel used by DefaultServer.
KernelException - Exception Class in com.jme3.network.kernel
Represents a kernel-level error, usually encapsulating an IOException as its cause.
KernelException(String) - Constructor for exception class com.jme3.network.kernel.KernelException
Creates a kernel exception with a message.
KernelException(String, Throwable) - Constructor for exception class com.jme3.network.kernel.KernelException
Creates a kernel exception with a message and cause.
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
Disconnect type used when a client is kicked by the server.

L

LazyMessageBuffer - Class in com.jme3.network.base.protocol
A MessageBuffer implementation that will deserialize messages as they are returned instead of deserializing them as the data comes in.
LazyMessageBuffer(MessageProtocol) - Constructor for class com.jme3.network.base.protocol.LazyMessageBuffer
Creates a lazy message buffer for the specified protocol.
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 an RMI interface on the local machine.
LocalObject() - Constructor for class com.jme3.network.rmi.LocalObject
Creates an empty local object descriptor.
log - Static variable in class com.jme3.network.serializing.Serializer
Shared logger for serializer infrastructure.
LongSerializer - Class in com.jme3.network.serializing.serializers
The Long serializer.
LongSerializer() - Constructor for class com.jme3.network.serializing.serializers.LongSerializer
Creates a long serializer.

M

map(Class, String) - Method in class com.jme3.network.util.AbstractMessageDelegator
Manually maps a specified method to the specified message type.
map(String...) - Method in class com.jme3.network.util.AbstractMessageDelegator
Specifically maps the specified methods names, autowiring the parameters.
map(Set) - 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.
MapSerializer - Class in com.jme3.network.serializing.serializers
Serializes map implementations and their key/value entries.
MapSerializer() - Constructor for class com.jme3.network.serializing.serializers.MapSerializer
Creates a map serializer.
matches(Method) - Method in class com.jme3.network.service.rmi.MethodInfo
Returns true if the reflected method matches this method metadata.
MAX_MESSAGE_SIZE - Static variable in class com.jme3.network.base.protocol.SerializerMessageProtocol
 
Message - Interface in com.jme3.network
Interface implemented by all network messages.
MessageBuffer - Interface in com.jme3.network.base
Accumulates network data into Message objects.
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
Creates an empty listener registry.
MessageProtocol - Interface in com.jme3.network.base
Consolidates the conversion of messages to/from byte buffers and provides a rolling message buffer.
messageReceived(Client, Message) - Method in class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
 
messageReceived(HostedConnection, Message) - Method in class com.jme3.network.base.DefaultServer.Redispatch
 
messageReceived(HostedConnection, Message) - Method in class com.jme3.network.rmi.ObjectStore.ServerEventHandler
 
messageReceived(Object, Message) - Method in class com.jme3.network.base.DefaultClient.Redispatch
 
messageReceived(Object, Message) - Method in class com.jme3.network.rmi.ObjectStore.ClientEventHandler
 
messageReceived(S, Message) - Method in class com.jme3.network.base.MessageListenerRegistry
 
messageReceived(S, Message) - Method in interface com.jme3.network.MessageListener
Called when a message is received from a source.
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().
MessageWriter(Endpoint, DatagramPacket) - Constructor for class com.jme3.network.kernel.udp.UdpKernel.MessageWriter
Creates a queued UDP packet writer.
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
Creates an empty method definition.
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
Creates metadata for a shared method.
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
Converts a reflected method into its serialized signature representation.
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
Creates a named thread factory using the default thread factory.
NamedThreadFactory(String, boolean) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
Creates a named thread factory using the default thread factory.
NamedThreadFactory(String, boolean, ThreadFactory) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
Creates a named thread factory that wraps another thread factory.
NamedThreadFactory(String, ThreadFactory) - Constructor for class com.jme3.network.kernel.NamedThreadFactory
Creates a named thread factory that wraps another thread factory.
Network - Class in com.jme3.network
The main service provider for conveniently creating server and client instances.
Network.NetworkClientImpl - Class in com.jme3.network
Client implementation used by the convenience factory methods.
NetworkClient - Interface in com.jme3.network
A Client whose network connection information can be provided post-creation.
NetworkClientImpl(String, int) - Constructor for class com.jme3.network.Network.NetworkClientImpl
Creates a network client implementation.
newData(NioEndpoint, SocketChannel, ByteBuffer, int) - Method in class com.jme3.network.kernel.tcp.SelectorKernel
Queues newly read endpoint data as an envelope.
newData(DatagramPacket) - Method in class com.jme3.network.kernel.udp.UdpKernel
Queues newly received datagram data as an envelope.
newThread(Runnable) - Method in class com.jme3.network.kernel.NamedThreadFactory
 
nextEndpointId() - Method in class com.jme3.network.kernel.AbstractKernel
Returns the next unique endpoint identifier.
nextEvent() - Method in class com.jme3.network.kernel.AbstractKernel
Removes and returns 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 returns 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
Creates an endpoint backed by a socket channel.
NioKernelFactory - Class in com.jme3.network.base
KernelFactory implementation for creating TCP kernels using the NIO selector model.
NioKernelFactory() - Constructor for class com.jme3.network.base.NioKernelFactory
Creates a TCP NIO kernel factory.
not(Filter) - 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(Collection) - 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.
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.
NULL_INFO - Static variable in class com.jme3.network.service.rmi.MethodInfo
Sentinel used to represent a null method info entry.

O

ObjectDef - Class in com.jme3.network.rmi
Describes a remotely shared object and its callable methods.
ObjectDef() - Constructor for class com.jme3.network.rmi.ObjectDef
Creates an empty object definition.
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> - 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
The object definitions being announced to the remote side.
ObjectStore - Class in com.jme3.network.rmi
Legacy RMI object registry for exposing local objects and resolving remote proxies.
ObjectStore(Client) - Constructor for class com.jme3.network.rmi.ObjectStore
Creates an object store bound to a client.
ObjectStore(Server) - Constructor for class com.jme3.network.rmi.ObjectStore
Creates an object store bound to a server.
ObjectStore.ClientEventHandler - Class in com.jme3.network.rmi
Handles client-side RMI message and connection callbacks.
ObjectStore.ServerEventHandler - Class in com.jme3.network.rmi
Handles server-side RMI message and connection callbacks.
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.rmi.RmiClientService
 
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.rpc.RpcClientService
Used internally to set up the RpcConnection and MessageDelegator.
onInitialize(ClientServiceManager) - Method in class com.jme3.network.service.serializer.ClientSerializerRegistrationsService
 
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.rmi.RmiHostedService
 
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.rpc.RpcHostedService
Used internally to set up the message delegator that will handle HostedConnection specific messages and forward them to that connection's RpcConnection.
onInitialize(HostedServiceManager) - Method in class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
 
onInitialize(S) - Method in class com.jme3.network.service.AbstractService
Called during initialize() for the subclass to perform implementation specific initialization.

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.
pollMessage() - Method in interface com.jme3.network.base.MessageBuffer
Returns the next message in the buffer or null if there are no more messages in the buffer.
pollMessage() - Method in class com.jme3.network.base.protocol.GreedyMessageBuffer
Returns the next message in the buffer or null if there are no more messages in the buffer.
pollMessage() - Method in class com.jme3.network.base.protocol.LazyMessageBuffer
Returns the next message in the buffer or null if there are no more messages in the buffer.

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() - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
read() - Method in class com.jme3.network.kernel.udp.UdpConnector
 
read(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Reads pending bytes from a readable channel.
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.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) - Method in class com.jme3.network.serializing.serializers.DateSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.DoubleSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.FloatSerializer
 
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) - 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) - Method in class com.jme3.network.message.ClientRegistrationMessage.ClientRegistrationSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.message.DisconnectMessage.DisconnectSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.rmi.RmiSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.Serializer
Read an object from the buffer, effectively deserializing it.
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.ArraySerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.CollectionSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.EnumSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.FieldSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.GZIPSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.MapSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.SavableSerializer
 
readObject(ByteBuffer, Class) - Method in class com.jme3.network.serializing.serializers.ZIPSerializer
 
readString(ByteBuffer) - Static method in class com.jme3.network.serializing.serializers.StringSerializer
Reads a UTF-8 string with a compact length prefix.
reason - Variable in class com.jme3.network.ClientStateListener.DisconnectInfo
A human-readable reason for the disconnect, if provided.
Redispatch() - Constructor for class com.jme3.network.base.DefaultClient.Redispatch
Creates the redispatch bridge.
Redispatch() - Constructor for class com.jme3.network.base.DefaultServer.Redispatch
Creates the redispatch bridge.
register() - Method in class com.jme3.network.message.SerializerRegistrationsMessage.Registration
Registers this transfer entry with the local serializer registry.
registerAll() - Method in class com.jme3.network.message.SerializerRegistrationsMessage
Applies all registrations carried by this message to the local serializer registry.
registerClass(Class) - Static method in class com.jme3.network.serializing.Serializer
Registers the specified serializable class.
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
Registers a class using the specified serializer instance.
registerClasses(Class...) - Static method in class com.jme3.network.serializing.Serializer
Registers each of the specified classes.
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
Registers or completes registration for a connecting client.
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.
Registration() - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage.Registration
Creates an empty transfer registration for serialization.
Registration(SerializerRegistration) - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage.Registration
Creates a transfer registration from a live serializer registration.
reliable() - Element in annotation interface com.jme3.network.service.rmi.Asynchronous
Indicates whether the asynchronous invocation should use reliable transport.
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
Creates an empty remote method call message.
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
Creates an empty remote method return message.
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
Creates remote object metadata for a shared object proxy.
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
Creates an empty remote object definition message.
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
Creates a remote object invocation handler.
REMOVE - Enum constant in enum class com.jme3.network.kernel.EndpointEvent.Type
Endpoint removed.
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
Removes partially connected state associated with the specified endpoint.
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
Removes bookkeeping for a closed endpoint.
removeErrorListener(ErrorListener) - Method in class com.jme3.network.base.DefaultClient
 
removeErrorListener(ErrorListener) - 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) - Method in class com.jme3.network.base.DefaultClient
 
removeMessageListener(MessageListener) - Method in interface com.jme3.network.Client
Removes a previously registered wildcard listener.
removeMessageListener(MessageListener, Class...) - Method in class com.jme3.network.base.DefaultClient
 
removeMessageListener(MessageListener, Class...) - Method in interface com.jme3.network.Client
Removes a previously registered type-specific listener from the specified types.
removeMessageListener(MessageListener) - Method in class com.jme3.network.base.DefaultServer
 
removeMessageListener(MessageListener) - Method in interface com.jme3.network.Server
Removes a previously registered wildcard listener.
removeMessageListener(MessageListener, Class...) - Method in class com.jme3.network.base.DefaultServer
 
removeMessageListener(MessageListener, Class...) - Method in interface com.jme3.network.Server
Removes a previously registered type-specific listener from the specified types.
removeMessageListener(MessageListener) - Method in class com.jme3.network.base.MessageListenerRegistry
Removes a wildcard listener.
removeMessageListener(MessageListener, Class...) - Method in class com.jme3.network.base.MessageListenerRegistry
Removes a listener from the specified message classes.
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
Removes a previously registered remote object.
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
Reports an adapter or kernel error and closes the endpoint when possible.
reportError(Exception) - Method in class com.jme3.network.kernel.AbstractKernel
Reports an internal kernel error.
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
Creates an RMI client service using the default object id and reliable channel.
RmiClientService(short, byte) - Constructor for class com.jme3.network.service.rmi.RmiClientService
Creates an RMI client service.
RmiContext - Class in com.jme3.network.service.rmi
Keeps track of the current connection performing a particular RMI call.
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
Creates an RMI hosted service using the default object id and reliable channel.
RmiHostedService(byte) - Constructor for class com.jme3.network.service.rmi.RmiHostedService
Creates an RMI hosted service using the specified default channel.
RmiHostedService(short, byte, boolean) - Constructor for class com.jme3.network.service.rmi.RmiHostedService
Creates an RMI hosted service.
RmiRegistry - Class in com.jme3.network.service.rmi
Maintains locally shared objects and remote proxies for the RMI service.
RmiRegistry(HostedConnection, RpcConnection, short, byte) - Constructor for class com.jme3.network.service.rmi.RmiRegistry
Creates an RMI registry.
RmiRegistry(RpcConnection, short, byte) - Constructor for class com.jme3.network.service.rmi.RmiRegistry
Creates an RMI registry without a server-side connection context.
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
Creates an RMI serializer.
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
Creates an empty RPC call message for serialization.
RpcCallMessage(long, byte, short, short, Object...) - Constructor for class com.jme3.network.service.rpc.msg.RpcCallMessage
Creates an RPC call message.
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
Creates an empty RPC response message for serialization.
RpcResponseMessage(long, Object) - Constructor for class com.jme3.network.service.rpc.msg.RpcResponseMessage
Creates a successful RPC response message.
RpcResponseMessage(long, Throwable) - Constructor for class com.jme3.network.service.rpc.msg.RpcResponseMessage
Creates a failed RPC response message.
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
Serializes Savable instances using the binary exporter/importer pipeline.
SavableSerializer() - Constructor for class com.jme3.network.serializing.serializers.SavableSerializer
Creates a savable serializer.
select() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Waits for and dispatches selector activity.
SelectorKernel - Class in com.jme3.network.kernel.tcp
A Kernel implementation based on NIO selectors.
SelectorKernel(int) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
Creates a selector kernel bound to the specified port on the wildcard address.
SelectorKernel(InetAddress, int) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
Creates a selector kernel for the specified host and port.
SelectorKernel(InetSocketAddress) - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel
Creates a selector kernel for the specified socket address.
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.
SelectorThread() - Constructor for class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Creates the selector thread.
send(byte, RpcResponseMessage) - Method in class com.jme3.network.service.rpc.RpcConnection
Sends an RPC response on the specified channel.
send(int, Message) - Method in class com.jme3.network.base.DefaultClient
 
send(int, Message) - Method in class com.jme3.network.base.DefaultServer.Connection
 
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(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(int, Message, boolean) - Method in class com.jme3.network.base.DefaultClient
Sends a message over a specific internal channel.
send(Message) - Method in class com.jme3.network.base.DefaultClient
 
send(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(Message) - Method in interface com.jme3.network.MessageConnection
Sends a message to the other end of the connection.
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) - Method in class com.jme3.network.kernel.tcp.NioEndpoint
 
send(ByteBuffer) - Method in class com.jme3.network.kernel.udp.UdpEndpoint
 
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.
Serializable - Annotation Interface 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
Creates a serializer for Serializable values.
serializer() - Element in annotation interface com.jme3.network.serializing.Serializable
Returns the serializer class to use for the annotated type.
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
Creates a serializer.
SERIALIZER_ID - Static variable in class com.jme3.network.message.ClientRegistrationMessage
Serializer id reserved for backwards-compatible client registration messages.
SERIALIZER_ID - Static variable in class com.jme3.network.message.DisconnectMessage
Serializer id reserved for backwards-compatible disconnect messages.
SerializerException - Exception Class in com.jme3.network.serializing
A general exception from the serialization routines.
SerializerException(String) - Constructor for exception class com.jme3.network.serializing.SerializerException
Creates a serializer exception with a message.
SerializerException(String, Throwable) - Constructor for exception class com.jme3.network.serializing.SerializerException
Creates a serializer exception with a message and cause.
SerializerMessageProtocol - Class in com.jme3.network.base.protocol
Implements a MessageProtocol providing message serializer/deserialization based on the built-in Serializer code.
SerializerMessageProtocol() - Constructor for class com.jme3.network.base.protocol.SerializerMessageProtocol
Creates a serializer-backed message protocol.
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
Creates a serializer registration.
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
Creates an empty registrations message for serialization.
SerializerRegistrationsMessage(SerializerRegistrationsMessage.Registration...) - Constructor for class com.jme3.network.message.SerializerRegistrationsMessage
Creates a registrations message containing the specified entries.
SerializerRegistrationsMessage.Registration - Class in com.jme3.network.message
Transfer object describing a single serializer registration.
Server - Interface in com.jme3.network
Represents a host that can send and receive messages to a set of remote client connections.
ServerEventHandler() - Constructor for class com.jme3.network.rmi.ObjectStore.ServerEventHandler
Creates the server-side event handler.
ServerSerializerRegistrationsService - Class in com.jme3.network.service.serializer
Prepares and sends serializer registration data to connecting clients.
ServerSerializerRegistrationsService() - Constructor for class com.jme3.network.service.serializer.ServerSerializerRegistrationsService
Creates the serializer registration service.
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
Creates a service manager.
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.
setCompressionLevel(int) - Method in class com.jme3.network.message.ZIPCompressedMessage
Sets this message's compression level.
setGameName(String) - Method in class com.jme3.network.message.ClientRegistrationMessage
Sets the game name expected by the server.
setId(long) - Method in class com.jme3.network.message.ClientRegistrationMessage
Sets the client identifier that couples reliable and unreliable channels.
setLevel(int) - Static method in class com.jme3.network.message.ZIPCompressedMessage
Deprecated.
Use ZIPCompressedMessage.setCompressionLevel(int) to configure an instance-specific compression level.
setMessage(Message) - Method in class com.jme3.network.message.CompressedMessage
Sets the wrapped message payload.
setPrimaryConnectors(Connector, Connector, ConnectorFactory) - Method in class com.jme3.network.base.DefaultClient
Sets the primary transport connectors used by this client.
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
Sets the disconnect reason text.
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 @Serializable will not be auto-registered during write.
setType(String) - Method in class com.jme3.network.message.DisconnectMessage
Sets the disconnect category.
setupSelectorOptions() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Recomputes selector interest ops for endpoints with pending output.
setVersion(int) - Method in class com.jme3.network.message.ClientRegistrationMessage
Sets the protocol or game version expected by the server.
share(byte, String, T, Class) - 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) - 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.
share(byte, T, Class) - 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) - 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) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified name.
share(String, T, Class) - 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(T, Class) - Method in class com.jme3.network.service.rmi.RmiClientService
Shares the specified object with the server and associates it with the specified type.
share(T, Class) - 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.
shareGlobal(byte, String, T, Class) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified name over the specified channel.
shareGlobal(String, T, Class) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified name.
shareGlobal(T, Class) - Method in class com.jme3.network.service.rmi.RmiHostedService
Shares a server-wide object associated with the specified type.
ShortSerializer - Class in com.jme3.network.serializing.serializers
Short serializer.
ShortSerializer() - Constructor for class com.jme3.network.serializing.serializers.ShortSerializer
Creates a short serializer.
shutdown() - Method in class com.jme3.network.base.ConnectorAdapter.WriterThread
Stops the writer thread by interrupting its blocking wait.
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
Creates a TCP connector to the specified remote address.
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 begin 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
Starts the client services after connection setup completes.
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
Creates a string serializer.
Synchronous - Enum constant in enum class com.jme3.network.service.rmi.CallType
Caller will block until a response is received and returned.

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
Creates a factory that connects to the specified remote address.
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() - Method in class com.jme3.network.service.ServiceManager
Terminates all services.
terminate(ClientServiceManager) - Method in interface com.jme3.network.service.ClientService
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 interface com.jme3.network.service.HostedService
The service manager is fully shutting down.
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 class com.jme3.network.service.AbstractService
Default implementation does nothing.
terminate(S) - Method in interface com.jme3.network.service.Service
The service manager is fully shutting down.
toByteBuffer(Message, ByteBuffer) - Method in interface com.jme3.network.base.MessageProtocol
Serializes a message into a byte buffer.
toByteBuffer(Message, ByteBuffer) - Method in class com.jme3.network.base.protocol.SerializerMessageProtocol
Converts a message to a ByteBuffer using the com.jme3.network.serializing.Serializer and the (short length) + data protocol.
toMessage(ByteBuffer) - Method in interface com.jme3.network.base.MessageProtocol
Deserializes a message from a byte buffer.
toMessage(ByteBuffer) - Method in class com.jme3.network.base.protocol.SerializerMessageProtocol
Creates and returns a message from the properly sized byte buffer using com.jme3.network.serializing.Serializer.
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
Creates a UDP endpoint.
UdpKernel - Class in com.jme3.network.kernel.udp
A Kernel implementation using UDP packets.
UdpKernel(int) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
Creates a UDP kernel bound to the specified port on the wildcard address.
UdpKernel(InetAddress, int) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
Creates a UDP kernel for the specified host and port.
UdpKernel(InetSocketAddress) - Constructor for class com.jme3.network.kernel.udp.UdpKernel
Creates a UDP kernel for the specified socket address.
UdpKernel.HostThread - Class in com.jme3.network.kernel.udp
Host thread that receives UDP packets for this kernel.
UdpKernel.MessageWriter - Class in com.jme3.network.kernel.udp
Writes queued UDP packets on behalf of endpoints.
Unreliable - Enum constant in enum class com.jme3.network.service.rmi.CallType
Similar to asynchronous in that no response is expected or sent but differs in that the call will be sent over UDP and so may not make it to the other end.
USER_REQUESTED - Static variable in class com.jme3.network.message.DisconnectMessage
Disconnect type used when the user requested closure.

V

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

W

waitForConnected() - Method in class com.jme3.network.base.DefaultClient
Blocks until the client finishes connecting.
wakeupReader() - Method in class com.jme3.network.kernel.AbstractKernel
Wakes a waiting reader by enqueueing the Kernel.EVENTS_PENDING marker if needed.
wakeupSelector() - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Wakes the selector if it is blocked in SelectorKernel.SelectorThread.select().
wakeupSelector() - Method in class com.jme3.network.kernel.tcp.SelectorKernel
Used internally by the endpoints to wake up the selector when they have data to send.
write(ByteBuffer) - Method in class com.jme3.network.base.ConnectorAdapter
Queues outbound bytes for writing on the background writer thread.
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(ByteBuffer) - Method in class com.jme3.network.kernel.tcp.SocketConnector
 
write(ByteBuffer) - Method in class com.jme3.network.kernel.udp.UdpConnector
 
write(SelectionKey) - Method in class com.jme3.network.kernel.tcp.SelectorKernel.SelectorThread
Flushes pending endpoint data to a writable channel.
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
 
WriterThread() - Constructor for class com.jme3.network.base.ConnectorAdapter.WriterThread
Creates the background writer thread.
writeString(String, ByteBuffer) - Static method in class com.jme3.network.serializing.serializers.StringSerializer
Writes a UTF-8 string with a compact length prefix.

Z

ZIPCompressedMessage - Class in com.jme3.network.message
Compress a message using this ZIPCompressedMessage class
ZIPCompressedMessage() - Constructor for class com.jme3.network.message.ZIPCompressedMessage
Creates an empty ZIP-compressed message for serialization.
ZIPCompressedMessage(Message) - Constructor for class com.jme3.network.message.ZIPCompressedMessage
Creates a ZIP-compressed wrapper for the specified message.
ZIPCompressedMessage(Message, int) - Constructor for class com.jme3.network.message.ZIPCompressedMessage
Creates a ZIP-compressed wrapper for the specified message and compression level.
ZIPSerializer - Class in com.jme3.network.serializing.serializers
Serializes ZIP messages.
ZIPSerializer() - Constructor for class com.jme3.network.serializing.serializers.ZIPSerializer
Creates a zip serializer.
A B C D E F G H I K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form