|
Bully Task (12.12.2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.jku.fim.datalinksimulation.networkstack.outgoing.OutgoingNetworkStack
public class OutgoingNetworkStack
Title: OSI Simulation Framework
Copyright: (c) 2004-05
Company: FIM@JKU, www.fim.uni-linz.ac.at
Field Summary | |
---|---|
protected OutgoingNetworkStackConfiguration |
configuration
Associated Filter configuration |
protected Logger |
logger
Associated logger instance |
protected java.util.Vector |
oberservers
Connected oberservers |
protected java.lang.Object |
stationID
Identifier of host |
Constructor Summary | |
---|---|
OutgoingNetworkStack(OutgoingNetworkStackConfiguration configuration,
java.lang.Object stationID)
Constructor |
Method Summary | |
---|---|
OutgoingNetworkStackConfiguration |
getConfiguration()
|
java.lang.Object |
getStationID()
|
void |
send(NetworkStackParameters params,
RawData data)
Send something through the network stack to another station |
void |
setConfiguration(OutgoingNetworkStackConfiguration configuration)
Set a new filter configuration |
void |
setParentLogger(Logger parent)
|
void |
setStationID(java.lang.Object stationID)
|
void |
subscribe(OutgoingNetworkStackObserver newObserver)
Connect this instance to a wire |
void |
unsubscribe(OutgoingNetworkStackObserver registeredObserver)
Disconnect wire |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OutgoingNetworkStackConfiguration configuration
protected java.util.Vector oberservers
protected Logger logger
protected java.lang.Object stationID
Constructor Detail |
---|
public OutgoingNetworkStack(OutgoingNetworkStackConfiguration configuration, java.lang.Object stationID)
configuration
- Filter configurationstationID
- StationID of hostMethod Detail |
---|
public void subscribe(OutgoingNetworkStackObserver newObserver)
newObserver
- public void unsubscribe(OutgoingNetworkStackObserver registeredObserver)
registeredObserver
- public void setConfiguration(OutgoingNetworkStackConfiguration configuration) throws InvalidFilterConfigurationException
configuration
-
InvalidFilterConfigurationException
public OutgoingNetworkStackConfiguration getConfiguration()
public void send(NetworkStackParameters params, RawData data)
params
- network stack paramsdata
- data to sendpublic java.lang.Object getStationID()
public void setStationID(java.lang.Object stationID)
stationID
- The stationID to set.public void setParentLogger(Logger parent)
parent
- Parent logger
|
Bully Task (12.12.2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |