Package com.six.timapi
Class TimEvent
- java.lang.Object
-
- com.six.timapi.TimEvent
-
public class TimEvent extends Object
Contains event information for asynchronous method calls. It is send to listeners Immutable class.
-
-
Constructor Summary
Constructors Constructor Description TimEvent(Terminal terminal, TimException exception, RequestType requestType)
Create event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimException
getException()
None if request finished successfully or an TimException instance if the request failed.RequestType
getRequestType()
Type of request this event has been send for.Terminal
getTerminal()
Terminal instance sending event.
-
-
-
Constructor Detail
-
TimEvent
public TimEvent(Terminal terminal, TimException exception, RequestType requestType)
Create event.
-
-
Method Detail
-
getTerminal
public Terminal getTerminal()
Terminal instance sending event.
-
getException
public TimException getException()
None if request finished successfully or an TimException instance if the request failed.
-
getRequestType
public RequestType getRequestType()
Type of request this event has been send for.
-
-