public interface Port
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
hasNext()
次のメッセージが存在するか
べっ,別に1つのセクションにまとめたっていいんだからねっ ヘッダの節約とlimitで弾かれるリスクを考えて調整してください |
void |
init(rescuecore2.worldmodel.ChangeSet changed)
各サイクルのvoiceやradioのMessageを生成する直前で呼ばれます.
|
MessageBitSection |
next()
次のメッセージ
MessageBitSectionには必ずreadで読みだす分と同じビット数だけ書いてください. |
void |
read(rescuecore2.worldmodel.EntityID sender,
int time,
BitArrayInputStream stream)
メッセージを読み出すときに呼ばれます.
|
void init(rescuecore2.worldmodel.ChangeSet changed)
changed
- boolean hasNext()
MessageBitSection next()
void read(rescuecore2.worldmodel.EntityID sender, int time, BitArrayInputStream stream)
sender
- stream
-