jp.ac.naka.ec.plugin.http
クラス HttpCore
java.lang.Object
jp.ac.naka.ec.EventSource
jp.ac.naka.ec.plugin.http.HttpCore
- すべての実装されたインタフェース:
- java.util.EventListener, EntityListener, Plugin
public class HttpCore
- extends EventSource
Webサーバとして機能し、HTTPからのイベントの入出力も管理する。
httpフォルダ以下の静的なWebリソースを読み込み表示する。デフォルトのWebへのアクセスポートは8080。
- 作成者:
- Takashi Kasuya
クラス jp.ac.naka.ec.EventSource から継承されたメソッド |
addedNewEntity, equals, getEventDispatcher, getPluginName, getURI, isLocal, receiveAck, receiveAnswer, receiveBye, receiveMessage, receiveOffer, removedEntity, setPluginName, setURI |
クラス java.lang.Object から継承されたメソッド |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static int DEFAULT_PORT
HttpCore
public HttpCore()
init
public void init(EntityContainer source)
throws java.lang.Exception
- インタフェース
Plugin
の記述:
- 初期化を行う
- 例外:
java.lang.Exception
init
public void init(EntityContainer source,
java.util.Properties prop)
throws java.lang.Exception
- インタフェース
Plugin
の記述:
- 初期化を行う。
- 例外:
java.lang.Exception
isStarted
public boolean isStarted()
- 戻り値:
stopServer
public void stopServer()
throws java.lang.InterruptedException
- 例外:
java.lang.InterruptedException