Go to the latest version of this document.

# ``twisted`.`application`.`_client_service`.`_Core``

class documentation

`class _Core: (source)`

View In Hierarchy

Shared core for ClientService state machine.

Method | `cancelConnectWaiters` | Undocumented
Method | `finishStopping` | Undocumented
Method | `unawait` | Undocumented
Method | `waitForStop` | Undocumented
Class Variable | `clock` | Undocumented
Class Variable | `endpoint` | Undocumented
Class Variable | `factory` | Undocumented
Class Variable | `failedAttempts` | Undocumented
Class Variable | `log` | Undocumented
Class Variable | `prepareConnection` | Undocumented
Class Variable | `timeoutForAttempt` | Undocumented
Instance Variable | `awaitingConnected` | Undocumented
Instance Variable | `stopWaiters` | Undocumented

def cancelConnectWaiters(self): (source)

Undocumented

def finishStopping(self): (source)

Undocumented

def unawait(self, value: `IProtocol | Failure`): (source)

Undocumented

def waitForStop(self) -> `Deferred[None]`: (source)

Undocumented

clock: `IReactorTime` = (source)

Undocumented

endpoint: `IStreamClientEndpoint` = (source)

Undocumented

factory: `IProtocolFactory` = (source)

Undocumented

failedAttempts: `int` = (source)

Undocumented

log: `Logger` = (source)

Undocumented

prepareConnection: `Callable[[IProtocol], object] | None` = (source)

Undocumented

timeoutForAttempt: `Callable[[int], float]` = (source)

Undocumented

awaitingConnected: `list[tuple[Deferred[IProtocol], int | None]]` = (source)

Undocumented

stopWaiters: `list[Deferred[None]]` = (source)

Undocumented