Represents a single connection state transition record with timing information. More...
Public Member Functions | |
ConnectionStateRecord () | |
java.util.Date | getDateTime () |
Gets the UTC datetime when the state transition occurred. More... | |
fm.liveswitch.ConnectionState | getState () |
Gets the connection state. More... | |
long | getTimeStamp () |
Gets the millisecond timestamp when the state transition occurred. More... | |
void | setDateTime (java.util.Date value) |
Sets the UTC datetime when the state transition occurred. More... | |
void | setState (fm.liveswitch.ConnectionState value) |
Sets the connection state. More... | |
void | setTimeStamp (long value) |
Sets the millisecond timestamp when the state transition occurred. More... | |
String | toString (long previousTime) |
Creates a string representation of the state transition. More... | |
Represents a single connection state transition record with timing information.
fm.liveswitch.ConnectionStateRecord.ConnectionStateRecord | ( | ) |
java.util.Date fm.liveswitch.ConnectionStateRecord.getDateTime | ( | ) |
Gets the UTC datetime when the state transition occurred.
fm.liveswitch.ConnectionState fm.liveswitch.ConnectionStateRecord.getState | ( | ) |
Gets the connection state.
long fm.liveswitch.ConnectionStateRecord.getTimeStamp | ( | ) |
Gets the millisecond timestamp when the state transition occurred.
void fm.liveswitch.ConnectionStateRecord.setDateTime | ( | java.util.Date | value | ) |
Sets the UTC datetime when the state transition occurred.
void fm.liveswitch.ConnectionStateRecord.setState | ( | fm.liveswitch.ConnectionState | value | ) |
Sets the connection state.
void fm.liveswitch.ConnectionStateRecord.setTimeStamp | ( | long | value | ) |
Sets the millisecond timestamp when the state transition occurred.
String fm.liveswitch.ConnectionStateRecord.toString | ( | long | previousTime | ) |
Creates a string representation of the state transition.
previousTime | The timestamp of the previous state transition in milliseconds. Use 0 for the initial state. |