public class NetworkManager extends java.lang.Object implements NetworkObjectListener, NetworkStateListener
Constructor and Description |
---|
NetworkManager(NetworkState state) |
Modifier and Type | Method and Description |
---|---|
void |
linkChange(Link l,
int eventID,
java.lang.Object caller) |
void |
networkObjectChange(NetworkObject object,
java.lang.Object oldvalue,
int eventID,
java.lang.Object caller) |
void |
pause() |
void |
processorChange(Processor p,
int eventID,
java.lang.Object caller) |
void |
runManager() |
void |
settingsChange(java.lang.String name,
java.lang.Object value,
int eventID,
java.lang.Object caller) |
void |
startUp() |
void |
statsChange(java.lang.String name,
java.lang.Object value,
int eventID,
java.lang.Object caller) |
void |
tickChange(int tickValue,
int eventID,
java.lang.Object caller) |
void |
unpause() |
public NetworkManager(NetworkState state)
public void startUp()
public void runManager()
public void pause()
public void unpause()
public void networkObjectChange(NetworkObject object, java.lang.Object oldvalue, int eventID, java.lang.Object caller)
networkObjectChange
in interface NetworkObjectListener
public void processorChange(Processor p, int eventID, java.lang.Object caller)
processorChange
in interface NetworkStateListener
public void linkChange(Link l, int eventID, java.lang.Object caller)
linkChange
in interface NetworkStateListener
public void settingsChange(java.lang.String name, java.lang.Object value, int eventID, java.lang.Object caller)
settingsChange
in interface NetworkStateListener
public void statsChange(java.lang.String name, java.lang.Object value, int eventID, java.lang.Object caller)
statsChange
in interface NetworkStateListener
public void tickChange(int tickValue, int eventID, java.lang.Object caller)
tickChange
in interface NetworkStateListener