Modifier and Type | Class and Description |
---|---|
static class |
ConnectionStateEvent.ConnectionState
The connection state.
|
Modifier and Type | Field and Description |
---|---|
static ConnectionStateEvent |
instanceCONNECT
Predefined instance.
|
static ConnectionStateEvent |
instanceDISCONNECT
Predefined instance.
|
private ConnectionStateEvent.ConnectionState |
state
The state.
|
Constructor and Description |
---|
ConnectionStateEvent(ConnectionStateEvent.ConnectionState state)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compare the objects using internal fields.
|
ConnectionStateEvent.ConnectionState |
getState()
Get the state.
|
int |
hashCode()
Get the hash code of the object.
|
java.lang.String |
toString()
The string representation of the object.
|
public static final ConnectionStateEvent instanceCONNECT
public static final ConnectionStateEvent instanceDISCONNECT
private final ConnectionStateEvent.ConnectionState state
public ConnectionStateEvent(ConnectionStateEvent.ConnectionState state)
state
- the statepublic ConnectionStateEvent.ConnectionState getState()
public int hashCode()
Event
public boolean equals(java.lang.Object obj)
Event
equals
in interface Event
equals
in class java.lang.Object
obj
- the objectProcessor.process(Event)
public java.lang.String toString()
Event
Copyright 2013 Michal Turek, AnotherFSM.