|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.jku.fim.datalinksimulation.layer7.Application
at.jku.fim.datalinksimulation.layer7.enduser.TextReceivingApplication
public class TextReceivingApplication
Title: OSI Simulation Framework
Copyright: (c) 2004-05
Company: FIM@JKU, www.fim.uni-linz.ac.at
Field Summary | |
---|---|
protected ReceiverPanel |
gui
Associated GUI element |
protected Logger |
logger
Associated logger component |
protected int |
stationId
Identifier of the station this application is running on |
Fields inherited from class at.jku.fim.datalinksimulation.layer7.Application |
---|
networkStackReference |
Constructor Summary | |
---|---|
TextReceivingApplication(int stationId)
Constructor |
|
TextReceivingApplication(ReceiverPanel gui,
int stationId)
Constructor |
Method Summary | |
---|---|
ReceiverPanel |
getGui()
|
Logger |
getLogger()
|
void |
informAboutNewData(NetworkStackParameters params,
RawData data)
This method is called whenever the incoming network stack sends data to the application |
void |
setGui(ReceiverPanel gui)
Set Associated GUI |
void |
setParentLogger(Logger parent)
|
Methods inherited from class at.jku.fim.datalinksimulation.layer7.Application |
---|
getNetworkStack, setNetworkStack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int stationId
protected ReceiverPanel gui
protected Logger logger
Constructor Detail |
---|
public TextReceivingApplication(ReceiverPanel gui, int stationId)
gui
- Associated GUIstationId
- Station ID of hostpublic TextReceivingApplication(int stationId)
stationId
- Station ID of hostMethod Detail |
---|
public void informAboutNewData(NetworkStackParameters params, RawData data)
params
- NetworkStackParametersdata
- RawDatapublic ReceiverPanel getGui()
public void setGui(ReceiverPanel gui)
gui
- Associated GUIpublic void setParentLogger(Logger parent)
parent
- Parent loggerpublic Logger getLogger()
getLogger
in class Application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |