com.jme3.network.base
クラス KernelAdapter

java.lang.Object
  上位を拡張 java.lang.Thread
      上位を拡張 com.jme3.network.base.KernelAdapter
すべての実装されたインタフェース:
java.lang.Runnable

public class KernelAdapter
extends java.lang.Thread

Wraps a single Kernel and forwards new messages to the supplied message dispatcher and new endpoint events to the connection dispatcher. This is used by DefaultServer to manage its kernel objects.

This adapter assumes a simple protocol where two bytes define a (short) object size with the object data to follow. Note: this limits the size of serialized objects to 32676 bytes... even though, for example, datagram packets can hold twice that. :P


入れ子のクラスの概要
 
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
フィールドの概要
 
クラス java.lang.Thread から継承されたフィールド
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
コンストラクタの概要
KernelAdapter(DefaultServer server, Kernel kernel, MessageListener<HostedConnection> messageDispatcher, boolean reliable)
           
 
メソッドの概要
 void close()
           
 void run()
           
 
クラス java.lang.Thread から継承されたメソッド
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

KernelAdapter

public KernelAdapter(DefaultServer server,
                     Kernel kernel,
                     MessageListener<HostedConnection> messageDispatcher,
                     boolean reliable)
メソッドの詳細

close

public void close()
           throws java.lang.InterruptedException
例外:
java.lang.InterruptedException

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run
オーバーライド:
クラス java.lang.Thread 内の run