gridsim
Class Input

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

class Input
extends Sim_entity

It accepts messages that comes from GridSim entities 'Output' entity
and passes the same to the GridSim entity.
It simulates Network communication delay depending on Baud rate
and data length.


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

Constructor Summary
Input(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

Input

public Input(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