drcl.inet.mac
Class MacPhyContract
java.lang.Object
drcl.comp.Contract
drcl.inet.mac.MacPhyContract
- public class MacPhyContract
- extends Contract
This contract is defined for WirelessPhy to convey some infomation to mac, which seems not appropriate to be carried in a Packet.
In the future release, more complicated information can be defined here to provide mac more information.
- Author:
- Ye Ge
|
Nested Class Summary |
static class |
MacPhyContract.Message
This class defines the data structure of the message between Mac and Phy components. |
|
Method Summary |
java.lang.Object |
getContractContent()
Returns the content of this contract (format?). |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final MacPhyContract INSTANCE
MacPhyContract
public MacPhyContract()
MacPhyContract
public MacPhyContract(int role_)
getName
public java.lang.String getName()
- Specified by:
getName in class Contract
getContractContent
public java.lang.Object getContractContent()
- Description copied from class:
Contract
- Returns the content of this contract (format?).
- Specified by:
getContractContent in class Contract
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~