public class NetworkEvent extends APIBean
| Constructor and Description |
|---|
NetworkEvent()
Default constructor
|
NetworkEvent(ICapabilitiesNet network,
long timestamp)
Constructor used by the implementation
|
| Modifier and Type | Method and Description |
|---|---|
ICapabilitiesNet |
getNetwork()
Network event getter
|
long |
getTimestamp()
Returns the timestamp of the event
|
void |
setNetwork(ICapabilitiesNet network)
Network setter
|
void |
setTimestamp(long timestamp)
Sets the timestamp of the event
|
public NetworkEvent()
public NetworkEvent(ICapabilitiesNet network, long timestamp)
network - of the apptimestamp - Timestamp of the eventpublic ICapabilitiesNet getNetwork()
public void setNetwork(ICapabilitiesNet network)
network - New network switchedpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - Timestamp of the event