t.n.s.SRVConnector : class documentation

Part of twisted.names.srvconnect View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IConnector

A connector that looks up DNS SRV records. See RFC2782.
Method __init__ No summary
Method connect Start connection to remote server.
Method pickServer Undocumented
Method stopConnecting Stop attempting to connect.
Method disconnect Disconnect whatever our are state is.
Method getDestination Return destination this will try to connect to.
Method connectionFailed Undocumented
Method connectionLost Undocumented
Method _ebGotServers Undocumented
Method _cbGotServers Undocumented
Method _ebServiceUnknown Connect to the default port when the service name is unknown.
Method _serverCmp Undocumented
Method _reallyConnect Undocumented
def __init__(self, reactor, service, domain, factory, protocol='tcp', connectFuncName='connectTCP', connectFuncArgs=(), connectFuncKwArgs={}, defaultPort=None): (source)
def connect(self): (source)
Start connection to remote server.
def _ebGotServers(self, failure): (source)
Undocumented
def _cbGotServers(self, (answers, auth, add)): (source)
Undocumented
def _ebServiceUnknown(self, failure): (source)
Connect to the default port when the service name is unknown.

If no SRV records were found, the service name will be passed as the port. If resolving the name fails with error.ServiceNameUnknownError, a final attempt is done using the default port.

def _serverCmp(self, a, b): (source)
Undocumented
def pickServer(self): (source)
Undocumented
def _reallyConnect(self): (source)
Undocumented
def stopConnecting(self): (source)
Stop attempting to connect.
def disconnect(self): (source)
Disconnect whatever our are state is.
def getDestination(self): (source)
Return destination this will try to connect to.
ReturnsAn object which provides IAddress.
def connectionFailed(self, reason): (source)
Undocumented
def connectionLost(self, reason): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.