public static class Connector.ConnectorEvent extends BaseEvent
| Constructor and Description |
|---|
Connector.ConnectorEvent(EventType type,
SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCaught()
Reuturn exception if happend.
|
static long |
getSerialversionuid() |
Element |
getStanza()
Return received stanza
|
StreamError |
getStreamError()
Returns stream error cause.
|
Element |
getStreamErrorElement()
Returns element wrapper around <error> receved element.
|
void |
setCaught(Throwable caught) |
void |
setStanza(Element stanza) |
void |
setStreamError(StreamError streamError) |
void |
setStreamErrorElement(Element streamErrorElement) |
getSessionObject, getType, isHandled, setHandledpublic Connector.ConnectorEvent(EventType type, SessionObject sessionObject)
public static long getSerialversionuid()
public Throwable getCaught()
null if event isn't fired because of
exception.public Element getStanza()
null if event
isn't fired because of stanza processing.public StreamError getStreamError()
null if event isn't
fired because of stream error.public Element getStreamErrorElement()
null if event isn't fired
because of stream error.public void setCaught(Throwable caught)
public void setStanza(Element stanza)
public void setStreamError(StreamError streamError)
public void setStreamErrorElement(Element streamErrorElement)
Copyright © 2006–2014 Tigase. All rights reserved.