edu.nyu.cs.pdsg.switchboard
Class SbLayerMessage

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.SbLayerMessage

public class SbLayerMessage
extends java.lang.Object


Field Summary
(package private) static int CLOSE
           
(package private) static int DELIVER
           
(package private) static int EVENT
           
(package private) static int INIT
           
(package private)  SbLayerable layer
           
(package private)  int messageType
           
(package private)  java.lang.Object payload
           
(package private) static int WRITE
           
 
Constructor Summary
SbLayerMessage(SbLayerable _layer, int _messageType)
           
SbLayerMessage(SbLayerable _layer, int _messageType, java.lang.Object _payload)
           
 
Method Summary
 java.lang.String messageTypeString()
           
 void send()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

payload

java.lang.Object payload

messageType

int messageType

layer

SbLayerable layer

DELIVER

static final int DELIVER
See Also:
Constant Field Values

WRITE

static final int WRITE
See Also:
Constant Field Values

CLOSE

static final int CLOSE
See Also:
Constant Field Values

EVENT

static final int EVENT
See Also:
Constant Field Values

INIT

static final int INIT
See Also:
Constant Field Values
Constructor Detail

SbLayerMessage

public SbLayerMessage(SbLayerable _layer,
                      int _messageType,
                      java.lang.Object _payload)

SbLayerMessage

public SbLayerMessage(SbLayerable _layer,
                      int _messageType)
Method Detail

send

public void send()

messageTypeString

public java.lang.String messageTypeString()

toString

public java.lang.String toString()


Copyright (c) 2002-2003 New York University RLAB