Class GetStreamingEventsResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.GetStreamingEventsResponse
-
public final class GetStreamingEventsResponse extends ServiceResponse
Represents the response to a subscription event retrieval operation.
-
-
Constructor Summary
Constructors Constructor Description GetStreamingEventsResponse(HangingServiceRequestBase request)Initializes a new instance of the GetStreamingEventsResponse class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getErrorSubscriptionIds()Gets the error subscription ids.GetStreamingEventsResultsgetResults()Gets event results from subscription.protected booleanloadExtraErrorDetailsFromXml(EwsServiceXmlReader reader, String xmlElementName)Loads extra error details from XMLprotected voidreadElementsFromXml(EwsServiceXmlReader reader)Reads response elements from XML.-
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
-
-
-
-
Constructor Detail
-
GetStreamingEventsResponse
public GetStreamingEventsResponse(HangingServiceRequestBase request)
Initializes a new instance of the GetStreamingEventsResponse class.- Parameters:
request- The request Request to disconnect when we get a close message.
-
-
Method Detail
-
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader) throws Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- Parameters:
reader- the reader- Throws:
Exception
-
loadExtraErrorDetailsFromXml
protected boolean loadExtraErrorDetailsFromXml(EwsServiceXmlReader reader, String xmlElementName) throws Exception
Loads extra error details from XML- Overrides:
loadExtraErrorDetailsFromXmlin classServiceResponse- Parameters:
reader- The reader.xmlElementName- The current element name of the extra error details.- Returns:
- True if the expected extra details is loaded; False if the element name does not match the expected element.
- Throws:
Exception
-
getResults
public GetStreamingEventsResults getResults()
Gets event results from subscription.
-
getErrorSubscriptionIds
public List<String> getErrorSubscriptionIds()
Gets the error subscription ids.
-
-