at.jku.fim.datalinksimulation.layer7
Class Application
java.lang.Object
at.jku.fim.datalinksimulation.layer7.Application
- All Implemented Interfaces:
- IncomingNetworkStackObserver
- Direct Known Subclasses:
- BullyApplication, 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
networkStackReference
protected NetworkStack networkStackReference
Application
public Application(NetworkStack networkStackReference)
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
Submit a bug
Copyright 2004-2008 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.