at.jku.fim.datalinksimulation.layer7
Class Application

java.lang.Object
  extended by at.jku.fim.datalinksimulation.layer7.Application
All Implemented Interfaces:
IncomingNetworkStackObserver
Direct Known Subclasses:
DataReflectApplication, TextReceivingApplication, TextSendingApplication

public abstract class Application
extends java.lang.Object
implements IncomingNetworkStackObserver

Title: OSI Simulation Framework

Base class for simulated applications

Copyright: (c) 2004-05

Company: FIM@JKU, www.fim.uni-linz.ac.at

Version:
$Id: Application.java,v 1.1 2005/10/27 13:10:11 aputzinger Exp $
Author:
Andreas Putzinger

Field Summary
protected  NetworkStack networkStackReference
           
 
Constructor Summary
Application(NetworkStack networkStackReference)
           
 
Method Summary
abstract  Logger getLogger()
           
 NetworkStack getNetworkStack()
           
 void setNetworkStack(NetworkStack networkStack)
          Set network stack reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface at.jku.fim.datalinksimulation.networkstack.incoming.IncomingNetworkStackObserver
informAboutNewData
 

Field Detail

networkStackReference

protected NetworkStack networkStackReference
Constructor Detail

Application

public Application(NetworkStack networkStackReference)
Method Detail

getNetworkStack

public NetworkStack getNetworkStack()
Returns:
Returns associated network stack

setNetworkStack

public void setNetworkStack(NetworkStack networkStack)
Set network stack reference

Parameters:
networkStack -

getLogger

public abstract Logger getLogger()
Returns:
Returns logger instance or null, if not available