|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
microsoft.exchange.webservices.data.core.request.HangingServiceRequestBase<GetStreamingEventsResponse>
microsoft.exchange.webservices.data.core.request.GetStreamingEventsRequest
public class GetStreamingEventsRequest
Defines the GetStreamingEventsRequest class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.core.request.HangingServiceRequestBase |
|---|
HangingServiceRequestBase.IHandleResponseObject, HangingServiceRequestBase.IHangingRequestDisconnectHandler |
| Field Summary | |
|---|---|
protected static int |
HeartbeatFrequencyDefault
|
| Fields inherited from class microsoft.exchange.webservices.data.core.request.HangingServiceRequestBase |
|---|
BUFFER_SIZE, heartbeatFrequencyMilliseconds |
| Constructor Summary | |
|---|---|
GetStreamingEventsRequest(ExchangeService service,
HangingServiceRequestBase.IHandleResponseObject serviceObjectHandler,
Iterable<String> subscriptionIds,
int connectionTimeout)
Initializes a new instance of the GetStreamingEventsRequest class. |
|
| Method Summary | |
|---|---|
protected HttpWebRequest |
buildEwsHttpWebRequest()
Builds the HttpWebRequest object for current service request with exception handling. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
String |
getXmlElementName()
Gets the name of the XML element. |
protected GetStreamingEventsResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response. |
protected static void |
setHeartbeatFrequency(int heartbeatFrequency)
region Test hooks Allow test code to change heartbeat value |
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML writer. |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.HangingServiceRequestBase |
|---|
addOnDisconnectEvent, clearDisconnectEvents, disconnect, disconnect, internalExecute, isConnected, isLogAllWireBytes, readPreamble, removeDisconnectEvent, setLogAllWireBytes |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase |
|---|
buildEwsHttpPoolingWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int HeartbeatFrequencyDefault
| Constructor Detail |
|---|
public GetStreamingEventsRequest(ExchangeService service,
HangingServiceRequestBase.IHandleResponseObject serviceObjectHandler,
Iterable<String> subscriptionIds,
int connectionTimeout)
throws ServiceVersionException
service - The serviceserviceObjectHandler - The serviceObjectHandlersubscriptionIds - The subscriptionIdsconnectionTimeout - The connectionTimeout
ServiceVersionException| Method Detail |
|---|
public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<GetStreamingEventsResponse>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<GetStreamingEventsResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException,
XMLStreamException
writeElementsToXml in class ServiceRequestBase<GetStreamingEventsResponse>writer - the writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationExceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<GetStreamingEventsResponse>
protected GetStreamingEventsResponse parseResponse(EwsServiceXmlReader reader)
throws Exception
parseResponse in class ServiceRequestBase<GetStreamingEventsResponse>reader - The reader.
Exception - the exceptionprotected static void setHeartbeatFrequency(int heartbeatFrequency)
protected HttpWebRequest buildEwsHttpWebRequest()
throws Exception
ServiceRequestBase
buildEwsHttpWebRequest in class ServiceRequestBase<GetStreamingEventsResponse>Exception - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||