public interface TransportProviderI
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
$0 |
| Modifier and Type | Method and Description |
|---|---|
int |
getRoundtrips()
Returns the current number of client-server roundtrips.
|
java.lang.Long |
getSessionId(boolean blockUntilAvailable)
Returns the Id of the current server-connection.
|
TransportI |
getTransport(java.lang.String reason,
boolean blockUntilAvailable)
Returns a usable TransportI for client-server communication.
|
boolean |
isAboutToStop()
Returns true, if this TransportProviderI will stop soon, false otherwise.
|
boolean |
isStopped()
Returns true, if this TransportProviderI is stopped, false otherwise.
|
boolean |
performMaintenance()
Forces a performance run on the managed TransportI-s.
|
void |
releaseTransport(TransportI t,
java.lang.Exception e)
Releases the passed TransportI again.
|
void |
startWorker()
Starts the worker thread of this TransportProviderI, which performs maintenance on the managed TransportI-s.
|
void |
stop()
Stops this TransportProviderI and terminates all TransportI-s.
|
static final java.lang.String $0
int getRoundtrips()
java.lang.Long getSessionId(boolean blockUntilAvailable)
TransportI getTransport(java.lang.String reason, boolean blockUntilAvailable) throws ServerConnectionException
ServerConnectionExceptionvoid releaseTransport(TransportI t, java.lang.Exception e) throws ServerConnectionException, java.lang.IllegalStateException
ServerConnectionExceptionjava.lang.IllegalStateExceptionvoid startWorker()
boolean performMaintenance()
void stop()
boolean isAboutToStop()
boolean isStopped()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.