001    package edu.harvard.deas.hyperenc;
002    
003    /**
004     * The direction of communication.
005     */
006    public enum Direction {
007      /**
008       * Represents outgoing communication. The master initiates the communication
009       * (by sending a message).
010       */
011      MASTER,
012    
013      /**
014       * Represents incoming communication. The slave concludes the communication
015       * (by receiving the master's message).
016       */
017      SLAVE,
018    }