com.jme3.network.kernel.udp
クラス UdpKernel

java.lang.Object
  上位を拡張 com.jme3.network.kernel.AbstractKernel
      上位を拡張 com.jme3.network.kernel.udp.UdpKernel
すべての実装されたインタフェース:
Kernel

public class UdpKernel
extends AbstractKernel

A Kernel implementation using UDP packets.


フィールドの概要
 
インタフェース com.jme3.network.kernel.Kernel から継承されたフィールド
EVENTS_PENDING
 
コンストラクタの概要
UdpKernel(java.net.InetAddress host, int port)
           
UdpKernel(java.net.InetSocketAddress address)
           
UdpKernel(int port)
           
 
メソッドの概要
 void broadcast(Filter<? super Endpoint> filter, java.nio.ByteBuffer data, boolean reliable, boolean copy)
          Dispatches the data to all endpoints managed by the kernel.
 void initialize()
          Initializes the kernel and starts any internal processing.
 void terminate()
          Gracefully terminates the kernel and stops any internal daemon processing.
 
クラス com.jme3.network.kernel.AbstractKernel から継承されたメソッド
hasEnvelopes, nextEvent, read
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UdpKernel

public UdpKernel(java.net.InetAddress host,
                 int port)

UdpKernel

public UdpKernel(int port)
          throws java.io.IOException
例外:
java.io.IOException

UdpKernel

public UdpKernel(java.net.InetSocketAddress address)
メソッドの詳細

initialize

public void initialize()
インタフェース Kernel の記述:
Initializes the kernel and starts any internal processing.


terminate

public void terminate()
               throws java.lang.InterruptedException
インタフェース Kernel の記述:
Gracefully terminates the kernel and stops any internal daemon processing. This method will not return until all internal threads have been shut down.

例外:
java.lang.InterruptedException

broadcast

public void broadcast(Filter<? super Endpoint> filter,
                      java.nio.ByteBuffer data,
                      boolean reliable,
                      boolean copy)
Dispatches the data to all endpoints managed by the kernel. 'routing' is currently ignored.