public final class MimdbIOThread
extends java.lang.Thread
コンストラクタと説明 |
---|
MimdbIOThread(int no,
boolean flg)
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
isStop()
スレッドが停止しているかチェック.
|
void |
register(java.nio.channels.SocketChannel channel)
SocketChannelを登録.
|
void |
register(java.nio.channels.SocketChannel channel,
int sendBuffer,
int recvBuffer)
SocketChannelを登録.
|
void |
run()
受信処理.
|
void |
startThread()
スレッド開始.
|
void |
stopThread()
スレッド停止.
|
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
public MimdbIOThread(int no, boolean flg) throws java.lang.Exception
no
- 対象のスレッド番号を設定します.flg
- 圧縮モードが設定されます.s
- FsHttpServerThreadを設定します.java.lang.Exception
- 例外.public void startThread() throws java.lang.Exception
java.lang.Exception
- 例外.public void stopThread()
public boolean isStop()
public void register(java.nio.channels.SocketChannel channel) throws java.lang.Exception
channel
- SocketChannelを設定します.java.lang.Exception
- 例外.public void register(java.nio.channels.SocketChannel channel, int sendBuffer, int recvBuffer) throws java.lang.Exception
channel
- SocketChannelを設定します.java.lang.Exception
- 例外.public void run()
run
インタフェース内 java.lang.Runnable
run
クラス内 java.lang.Thread