jp.ac.nime.computer.websim
クラス HTTPServItem

java.lang.Object
  |
  +--jp.ac.nime.computer.MachineItem
        |
        +--jp.ac.nime.computer.websim.HTTPServItem

public class HTTPServItem
extends MachineItem

WWWシミュレータ HTTPサーバーオブジェクトクラス


フィールドの概要
 
クラス jp.ac.nime.computer.MachineItem から継承したフィールド
m_nPosX, m_nPosY, ON_BROWSER_DIALOG_CLOSED, ON_TEXTAREA_DIALOG_CLOSED
 
コンストラクタの概要
HTTPServItem(WebSim parent, java.lang.String sIP, java.awt.Image imSrc, int nX, int nY)
          クラスコンストラクタ
 
メソッドの概要
 boolean onMousePressed()
          マウス押下時のアクション
 void postEventAction(int nEvent)
          外部からのイベント通知
 void postMailAction(MailDataObject obj)
          メールオブジェクト到達通知アクション
 void postPacketAction(HTTPPacketData obj)
          HTTPパケットオブジェクト到達通知アクション
 
クラス jp.ac.nime.computer.MachineItem から継承したメソッド
addTarget, getHost, getImage, getIP, getLabel, getParent, getRootFrame, getTarget, getTargetSize, setHost
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HTTPServItem

public HTTPServItem(WebSim parent,
                    java.lang.String sIP,
                    java.awt.Image imSrc,
                    int nX,
                    int nY)
クラスコンストラクタ

パラメータ:
parent - メインアプレットクラス
sIP - IPアドレス
imSrc - 表示画像
nX - 表示X座標
nY - 表示Y座標
メソッドの詳細

onMousePressed

public boolean onMousePressed()
マウス押下時のアクション

定義:
クラス MachineItem 内の onMousePressed

postMailAction

public void postMailAction(MailDataObject obj)
メールオブジェクト到達通知アクション

定義:
クラス MachineItem 内の postMailAction
パラメータ:
obj - メールデータオブジェクト

postPacketAction

public void postPacketAction(HTTPPacketData obj)
HTTPパケットオブジェクト到達通知アクション

定義:
クラス MachineItem 内の postPacketAction
パラメータ:
obj - HTTPパケットオブジェクト

postEventAction

public void postEventAction(int nEvent)
外部からのイベント通知

定義:
クラス MachineItem 内の postEventAction
パラメータ:
nEvent - イベント種類