jist.swans.mac
Class MacInfo

java.lang.Object
  extended by jist.swans.mac.MacInfo
All Implemented Interfaces:
JistAPI.Timeless

public class MacInfo
extends java.lang.Object
implements JistAPI.Timeless

Mac properties.

Since:
SWANS1.0
Version:
$Id: MacInfo.java,v 1.4 2004/04/06 16:07:48 barr Exp $
Author:
Rimon Barr <barr+jist@cs.cornell.edu>

Nested Class Summary
static class MacInfo.MacInfoShared
          Timeless information possibly shared among numerous Mac instances (only to save simulation memory).
static class MacInfo.MacInfoUnique
          Timeless information unique to a single Mac instance.
 
Field Summary
protected  MacInfo.MacInfoShared shared
          Timeless information possibly shared among numerous Mac instances (only to save simulation memory).
protected  MacInfo.MacInfoUnique unique
          Timeless information unique to this Mac instance.
 
Constructor Summary
MacInfo(MacInfo.MacInfoUnique unique, MacInfo.MacInfoShared shared)
          Create Mac information object with shared and unique properties.
 
Method Summary
 MacInfo.MacInfoShared getShared()
          Return shared radio properties.
 MacInfo.MacInfoUnique getUnique()
          Return unique mac properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unique

protected MacInfo.MacInfoUnique unique
Timeless information unique to this Mac instance.


shared

protected MacInfo.MacInfoShared shared
Timeless information possibly shared among numerous Mac instances (only to save simulation memory).

Constructor Detail

MacInfo

public MacInfo(MacInfo.MacInfoUnique unique,
               MacInfo.MacInfoShared shared)
Create Mac information object with shared and unique properties.

Parameters:
unique - unique mac properties
shared - shared mac properties (shared only to save memory)
Method Detail

getUnique

public MacInfo.MacInfoUnique getUnique()
Return unique mac properties.

Returns:
unique mac properties

getShared

public MacInfo.MacInfoShared getShared()
Return shared radio properties.

Returns:
shared radio properties