|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.Frame
An object encapsulating a frame on a link.
| Field Summary | |
double |
arrive_time
The time this frame will arrive at its destination (can be dequeued). |
IP_Packet |
data
Encapsulated IP packet |
int |
dest
Destination ID |
private static int |
frame_size
|
int |
src
Source ID |
double |
trans_time
The time this frame will finish being transmitted from its source. |
| Constructor Summary | |
Frame()
|
|
| Method Summary | |
static int |
getFrameSize()
Return the size for frame overhead. |
int |
getSize()
Returns the size of this frame (data + frame overhead). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int src
public int dest
public IP_Packet data
private static int frame_size
public transient double trans_time
public transient double arrive_time
| Constructor Detail |
public Frame()
| Method Detail |
public int getSize()
public static int getFrameSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||