Class RecvDrv

java.lang.Object
  |
  +--Node
        |
        +--RunningNode
              |
              +--RecvDrv

public class RecvDrv
extends RunningNode

Defines the behavior of the ReceiveMail Driver


Constructor Summary
RecvDrv()
          Default constructor for the RecvDrv
 
Method Summary
 java.lang.Object RecvDrvGetFromLink()
          Obtains a message from the link
 
Methods inherited from class RunningNode
getLinkAccess, getNodeDescription, getNodeID, receivers, senders
 
Methods inherited from class Node
setNodeLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecvDrv

public RecvDrv()
Default constructor for the RecvDrv
Method Detail

RecvDrvGetFromLink

public java.lang.Object RecvDrvGetFromLink()
Obtains a message from the link
Returns:
Object message obtained from the link
REQUIRES:
MODIFIES: System.out
EFFECTS: Retrieves and returns a message objecy from the communication carrier In case the carrier is empty returns null In case the carrier is garbled, nothing is retrieved and the carrier is cleared and null is returned