gridsim
Class Output

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.Output
All Implemented Interfaces:
java.lang.Runnable

class Output
extends eduni.simjava.Sim_entity

It sends messages to destination entity's Input entity. It works along with Input entity to simulate network communication delay.


Field Summary
 
Fields inherited from class eduni.simjava.Sim_entity
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Output(java.lang.String name, double baud_rate)
           
 
Method Summary
 void body()
           
 double GetBaudRate()
           
 double real_io(double d)
           
 
Methods inherited from class eduni.simjava.Sim_entity
add_param, add_port, get_id, get_name, get_port, get_port, run, send_on, set_invisible, sim_cancel, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait, sim_waiting, sim_waiting
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Output

public Output(java.lang.String name,
              double baud_rate)
Method Detail

GetBaudRate

public double GetBaudRate()

real_io

public double real_io(double d)

body

public void body()
Overrides:
body in class eduni.simjava.Sim_entity