public class SessionEventArgs extends Object
Modifier and Type | Method and Description |
---|---|
SessionEvent |
getEvent()
Gets the type of the event.
|
Exception |
getException()
Gets the optional exception that raised the event,
null if
unapplicable. |
String |
getInfo()
Gets the optional string providing additional information about the event,
null if unavailable. |
int |
getResponseCode()
Gets the optional appliance response code,
0 if unavailable. |
String |
toString() |
public SessionEvent getEvent()
public String getInfo()
null
if unavailable.public Exception getException()
null
if
unapplicable.
If the event is raised due to an error response from the appliance, this
field will be of type JCSMPErrorResponseException
and the
JCSMPErrorResponseException.getSubcode()
method can be used to
get more information about the error response.null
if
unavailable.public int getResponseCode()
0
if unavailable.0
if unavailable.Copyright 2004-2024 Solace Corporation. All rights reserved.