com.microsoft.tfs.core
Class ConnectivityFailureRequestHandler
java.lang.Object
com.microsoft.tfs.core.ConnectivityFailureRequestHandler
- All Implemented Interfaces:
- com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler
public class ConnectivityFailureRequestHandler
- extends java.lang.Object
- implements com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler
A transport request handler that listens for success / failures from
SOAPService
s and updates the TFSConnection
's error state
accordingly. This handler should be invoked last in the list of handlers.
- Thread-safety:
- unknown
Nested classes/interfaces inherited from interface com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler |
com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status |
Method Summary |
com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status |
handleException(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request,
java.lang.Exception exception,
java.util.concurrent.atomic.AtomicBoolean cancel)
|
com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status |
handleSuccess(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request)
|
com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status |
prepareRequest(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request,
java.util.concurrent.atomic.AtomicBoolean cancel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectivityFailureRequestHandler
public ConnectivityFailureRequestHandler(TFSConnection connection)
prepareRequest
public com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status prepareRequest(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request,
java.util.concurrent.atomic.AtomicBoolean cancel)
- Specified by:
prepareRequest
in interface com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler
handleException
public com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status handleException(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request,
java.lang.Exception exception,
java.util.concurrent.atomic.AtomicBoolean cancel)
- Specified by:
handleException
in interface com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler
handleSuccess
public com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler.Status handleSuccess(com.microsoft.tfs.core.ws.runtime.client.SOAPService service,
com.microsoft.tfs.core.ws.runtime.client.SOAPRequest request)
- Specified by:
handleSuccess
in interface com.microsoft.tfs.core.ws.runtime.client.TransportRequestHandler
© 2015 Microsoft. All rights reserved.