Uses of Interface
com.jme3.network.kernel.Endpoint
Packages that use Endpoint
Package
Description
-
Uses of Endpoint in com.jme3.network.base
Classes in com.jme3.network.base that implement interfaces with type arguments of type EndpointModifier and TypeClassDescriptionprotected classAdapts hosted-connection filters to endpoint filters.Methods in com.jme3.network.base with parameters of type EndpointModifier and TypeMethodDescriptionbooleanprotected voidDefaultServer.connectionClosed(Endpoint p) Handles closure of an endpoint and removes any associated connection state.protected voidKernelAdapter.connectionClosed(Endpoint p) Handles endpoint closure and clears any buffered message state.protected voidNote on threading for those writing their own server or adapter implementations.protected HostedConnectionDefaultServer.getConnection(Endpoint endpoint) Resolves a hosted connection from an endpoint.protected HostedConnectionKernelAdapter.getConnection(Endpoint p) Resolves a hosted connection from an endpoint.protected MessageBufferKernelAdapter.getMessageBuffer(Endpoint p) Returns the message buffer used to accumulate bytes for an endpoint.protected voidDefaultServer.registerClient(KernelAdapter ka, Endpoint p, ClientRegistrationMessage m) Registers or completes registration for a connecting client.protected voidDefaultServer.removeConnecting(Endpoint p) Removes partially connected state associated with the specified endpoint.protected voidKernelAdapter.reportError(Endpoint p, Object context, Exception e) Reports an adapter or kernel error and closes the endpoint when possible.Method parameters in com.jme3.network.base with type arguments of type EndpointModifier and TypeMethodDescriptionvoidKernelAdapter.broadcast(Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, boolean copy) Broadcasts raw bytes through the wrapped kernel. -
Uses of Endpoint in com.jme3.network.kernel
Methods in com.jme3.network.kernel that return EndpointModifier and TypeMethodDescriptionEndpointEvent.getEndpoint()Returns the endpoint involved in the event.Envelope.getSource()Returns the endpoint that produced the data.Methods in com.jme3.network.kernel with parameters of type EndpointModifier and TypeMethodDescriptionstatic EndpointEventCreates an endpoint-added event.static EndpointEventEndpointEvent.createRemove(Kernel source, Endpoint p) Creates an endpoint-removed event.Method parameters in com.jme3.network.kernel with type arguments of type EndpointModifier and TypeMethodDescriptionvoidKernel.broadcast(Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, boolean copy) Dispatches the data to all endpoints managed by the kernel that match the specified endpoint filter.Constructors in com.jme3.network.kernel with parameters of type EndpointModifierConstructorDescriptionEndpointEvent(Kernel source, Endpoint p, EndpointEvent.Type type) Creates an endpoint event.Creates an incoming envelope holding the data from the specified source. -
Uses of Endpoint in com.jme3.network.kernel.tcp
Classes in com.jme3.network.kernel.tcp that implement EndpointModifier and TypeClassDescriptionclassEndpoint implementation that encapsulates the channel IO based connection information and keeps track of the outbound data queue for the channel.Method parameters in com.jme3.network.kernel.tcp with type arguments of type EndpointModifier and TypeMethodDescriptionvoidSelectorKernel.broadcast(Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, boolean copy) -
Uses of Endpoint in com.jme3.network.kernel.udp
Classes in com.jme3.network.kernel.udp that implement EndpointModifier and TypeClassDescriptionclassEndpoint implementation that encapsulates the UDP connection information for return messaging, identification of envelope sources, etc.Methods in com.jme3.network.kernel.udp that return EndpointModifier and TypeMethodDescriptionprotected EndpointUdpKernel.getEndpoint(SocketAddress address, boolean create) Returns the endpoint for the specified socket address, optionally creating it.Methods in com.jme3.network.kernel.udp with parameters of type EndpointModifier and TypeMethodDescriptionprotected voidUdpKernel.enqueueWrite(Endpoint endpoint, DatagramPacket packet) Queues a datagram for asynchronous sending.Method parameters in com.jme3.network.kernel.udp with type arguments of type EndpointModifier and TypeMethodDescriptionvoidUdpKernel.broadcast(Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, boolean copy) Dispatches the data to all endpoints managed by the kernel.Constructors in com.jme3.network.kernel.udp with parameters of type EndpointModifierConstructorDescriptionMessageWriter(Endpoint endpoint, DatagramPacket packet) Creates a queued UDP packet writer.