gridsim
Class Output

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.Output

class Output
extends Sim_entity

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


Fields inherited from class java.lang.Thread
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY

Constructor Summary
Output(String name, double baud_rate)
           

Method Summary
 voidbody()
           
 doubleGetBaudRate()
           
 doublereal_io(double d)
           

Methods inherited from class eduni.simjava.Sim_entity
set_invisible, get_name, get_id, get_port, get_port, add_port, add_param, sim_hold, sim_hold_for, sim_trace, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_wait, sim_waiting, sim_waiting, sim_select, sim_cancel, sim_wait_for, sim_putback, sim_get_next, sim_get_next, sim_current, send_on, run

Methods inherited from class java.lang.Thread
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Constructor Detail

Output

public Output(String name, double baud_rate)
Method Detail

body

public void body()

GetBaudRate

public double GetBaudRate()

real_io

public double real_io(double d)

Association Links

to Class eduni.simjava.Sim_port