jp.ac.naka.ec.plugin.flash
クラス FlashXMLSocketServer

java.lang.Object
  上位を拡張 jp.ac.naka.ec.EventSource
      上位を拡張 jp.ac.naka.ec.plugin.flash.FlashXMLSocketServer
すべての実装されたインタフェース:
java.lang.Runnable, java.util.EventListener, EntityListener, Plugin

public class FlashXMLSocketServer
extends EventSource
implements java.lang.Runnable

FlashのXMLSocketを用いて、イベント情報を配布するためのサーバ。デフォルトのポートは4444

作成者:
粕谷

フィールドの概要
 
クラス jp.ac.naka.ec.EventSource から継承されたフィールド
dispatcher, name, uri
 
コンストラクタの概要
FlashXMLSocketServer()
           
 
メソッドの概要
 void init(EntityContainer source)
          初期化を行う
 void init(EntityContainer source, java.util.Properties properties)
          初期化を行う。
static void main(java.lang.String[] args)
           
 void receiveMessage(EntityEvent evt)
          メッセージが来た際のコールバック
 void run()
           
 
クラス jp.ac.naka.ec.EventSource から継承されたメソッド
addedNewEntity, equals, getEventDispatcher, getPluginName, getURI, isLocal, receiveAck, receiveAnswer, receiveBye, receiveOffer, removedEntity, setPluginName, setURI
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FlashXMLSocketServer

public FlashXMLSocketServer()
メソッドの詳細

init

public void init(EntityContainer source)
          throws java.lang.Exception
インタフェース Plugin の記述:
初期化を行う

定義:
インタフェース Plugin 内の init
例外:
java.lang.Exception

init

public void init(EntityContainer source,
                 java.util.Properties properties)
          throws java.lang.Exception
インタフェース Plugin の記述:
初期化を行う。

定義:
インタフェース Plugin 内の init
例外:
java.lang.Exception

receiveMessage

public void receiveMessage(EntityEvent evt)
インタフェース EntityListener の記述:
メッセージが来た際のコールバック

定義:
インタフェース EntityListener 内の receiveMessage
オーバーライド:
クラス EventSource 内の receiveMessage

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run

main

public static void main(java.lang.String[] args)
パラメータ:
args -