Class SenderCamera

java.lang.Object
  |
  +--Process
        |
        +--SenderCamera
All Implemented Interfaces:
Camera, MsgHandler

public class SenderCamera
extends Process
implements Camera


Field Summary
 int myColor
           
 
Constructor Summary
SenderCamera(CameraLinker initComm, CamUser app)
           
 
Method Summary
 void globalState()
           
 void handleMsg(Msg m, int src, java.lang.String tag)
           
 void recordMsg(int destId, SeqMessage sm)
           
 
Methods inherited from class Process
broadcastMsg, isNeighbor, myWait, receiveMsg, sendMsg, sendMsg, sendMsg, sendMsg, sendToNeighbors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface MsgHandler
receiveMsg
 

Field Detail

myColor

public int myColor
Constructor Detail

SenderCamera

public SenderCamera(CameraLinker initComm,
                    CamUser app)
Method Detail

globalState

public void globalState()
Specified by:
globalState in interface Camera

handleMsg

public void handleMsg(Msg m,
                      int src,
                      java.lang.String tag)
Specified by:
handleMsg in interface MsgHandler
Overrides:
handleMsg in class Process

recordMsg

public void recordMsg(int destId,
                      SeqMessage sm)