Class RxCoordination

  • All Implemented Interfaces:
    java.lang.Cloneable, Actor, Executable, FiringsRecordable, Initializable, TypedActor, Changeable, Debuggable, DebugListener, Derivable, Instantiable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class RxCoordination
    extends MACActorBase
    RxCoordination class is responsible for the sequence of events in response to a session setup request. When a RTS packet is received, RxCoordination sends a CTS back after SIFS seconds if NAV is zero (i.e. channel is available); when a data packet is received, a Ack is sent back after SIFS seconds and the data packet received will be forwarded to the network layer. RxCoordination also notifies TxCoordination process of the receipt of either CTS or Ack.
    Since:
    Ptolemy II 4.0
    Version:
    RxCoordination.java,v 1.11 2004/04/22 19:46:17 ellen_zh Exp
    Author:
    Charlie Zhong
    Pt.AcceptedRating:
    Red (reviewmoderator)
    Pt.ProposedRating:
    Red (czhong)
    • Field Detail

      • fromReception

        public TypedIOPort fromReception
        Port receiving messages from the Reception block
      • RXTXConfirm

        public TypedIOPort RXTXConfirm
        Port receiving confirmation on RXTxRequest from the Reception block
      • SinkRequest

        public TypedIOPort SinkRequest
        Port sending messages to the network layer
      • toPowerControl

        public TypedIOPort toPowerControl
        Port sending messages to the PowerControl block
      • GotAck

        public TypedIOPort GotAck
        Port notifying the TxCoordination process of the receipt of Ack or Cts
      • RXTXRequest

        public TypedIOPort RXTXRequest
        Port sending messages to the Reception block
    • Constructor Detail

      • RxCoordination

        public RxCoordination​(CompositeEntity container,
                              java.lang.String name)
                       throws IllegalActionException,
                              NameDuplicationException
        Construct an actor with the specified name and container. The container argument must not be null, or a NullPointerException will be thrown. If the name argument is null, then the name is set to the empty string. This constructor write-synchronizes on the workspace.
        Parameters:
        container - The container.
        name - The name of the actor.
        Throws:
        IllegalActionException - If the container is incompatible with this actor.
        NameDuplicationException - If the name coincides with an actor already in the container.