A B C D G H M P R T
A
- ALL_HOSTS -
Static variable in class Port
- special address (different from any Port's address)
used as a multicast destination for all Hosts
- ALL_LOCAL_BRIDGES -
Static variable in class Port
- special address (different from any Port's address)
used as a multicast destination for all Bridges on
the local segment (that is, all Bridges that can be
reached without going through a Bridge -- packets
sent to this address are not to be forwarded by
Bridges)
- allTick() -
Static method in class Bridge
- invoke the tick() method on each Bridge
B
- Bridge - class Bridge.
- Model of a network bridge.
- Bridge(int) -
Constructor for class Bridge
- Constructor for objects of class Bridge
C
- clone() -
Method in class Message
- Be sure to override this in subclasses if necessary.
- connect(int, Port) -
Method in class Hub
- connects a specified port number of this Hub to another Port
- connect(int, Port) -
Method in class Bridge
- connects a specified port number of this Bridge to another Port
- connect(Port) -
Method in class Host
- connects this Host's Port to another Port
- connect(Port) -
Method in class Port
- connects this Port to another Port, if this Port is disconnected
D
- disconnect() -
Method in class Host
- disconnects this Host's Port
- disconnect() -
Method in class Port
- disconnects this Port from the other Port it is connected to, if any
- disconnect(int) -
Method in class Hub
- disconnects a specified port number of this Hub
- disconnect(int) -
Method in class Bridge
- disconnects a specified port number of this Bridge
G
- getAddress() -
Method in class Host
- returns the Host's (Port's) address
- getAddress() -
Method in class Port
- returns this Port's address
- getBody() -
Method in class TextMessage
- returns the string the TextMessage is carrying
- getBridgeNumber() -
Method in class Bridge
- returns a unique identifying number for the Bridge
- getDestination() -
Method in class Message
- returns the Message's destination address
- getPort() -
Method in class Host
- returns the Host's Port
- getPort(int) -
Method in class Hub
- returns a specified port of the Hub
- getPort(int) -
Method in class Bridge
- returns a specified port of the Bridge
- getSource() -
Method in class Message
- returns the Message's source address
H
- Host - class Host.
- Model of a network host.
- Host() -
Constructor for class Host
- Constructor for objects of class Host
- Hub - class Hub.
- Model of a network hub.
- Hub(int) -
Constructor for class Hub
- Constructor for objects of class Hub
M
- Message - class Message.
- Basic message; can be subclassed for message types (which can have bodies).
- Message(int, int) -
Constructor for class Message
- Constructor for objects of class Message
P
- Port - class Port.
- Model of one port of a network device.
- Port() -
Constructor for class Port
-
R
- receive(Message) -
Method in class Port
- receives a Message from the connected Port; should be processed appropriately by this Port's device
T
- TextMessage - class TextMessage.
- Message with a textual body; nice for demonstrating host->host
transmission (though plain Messages work fine too).
- TextMessage(int, int, String) -
Constructor for class TextMessage
- Constructor for objects of class TextMessage
- tick() -
Method in class Bridge
- do any housekeeping that needs doing each time interval
- toString() -
Method in class Message
- returns a String describing the Message
- toString() -
Method in class TextMessage
- returns a String describing the TextMessage
- transmit(Message) -
Method in class Host
- transmits a Message
- transmit(Message) -
Method in class Port
- transmits a Message to the connected Port, if any
A B C D G H M P R T
Generated by BlueJ