PyKDE - Python Bindings for KDE
class _TDEIO.TCPSlaveBase
Table of contents
Modules
tdeio Classes
All Classes
Module
tdeio
Class
_TDEIO.TCPSlaveBase
Inherits
_TDEIO.SlaveBase
methods
AtEOF
()
returns
(bool)
CleanSSL
()
returns
nothing
CloseDescriptor
()
returns
nothing
ConnectToHost
(host, port, sendError)
returns
(bool)
Argument
Type
Default
host
TQString
port
uint
sendError
bool
GetPort
(p)
returns
(ushort)
Argument
Type
Default
p
ushort
InitializeSSL
()
returns
(bool)
Read
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
void
len
ssize_t
ReadLine
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
char
len
ssize_t
TCPSlaveBase
(defaultPort, protocol, poolSocket, appSocket)
returns
a TCPSlaveBase instance
Argument
Type
Default
defaultPort
ushort
protocol
TQCString
poolSocket
TQCString
appSocket
TQCString
TCPSlaveBase
(defaultPort, protocol, poolSocket, appSocket, useSSL)
returns
a TCPSlaveBase instance
Argument
Type
Default
defaultPort
ushort
protocol
TQCString
poolSocket
TQCString
appSocket
TQCString
useSSL
bool
Write
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
void
len
ssize_t
atEnd
()
returns
(bool)
canUseTLS
()
returns
(bool)
certificatePrompt
()
returns
nothing
cleanSSL
()
returns
nothing
closeDescriptor
()
returns
nothing
connectResult
()
returns
(int)
connectToHost
(host, port, sendError = 1)
returns
(bool)
Argument
Type
Default
host
TQString
port
uint
sendError
bool
1
doConstructorStuff
()
returns
nothing
initializeSSL
()
returns
(bool)
isConnectionValid
()
returns
(bool)
isSSLTunnelEnabled
()
returns
(bool)
port
(_port)
returns
(ushort)
Argument
Type
Default
_port
ushort
read
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
void
len
ssize_t
readLine
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
char
len
ssize_t
setBlockConnection
(b)
returns
nothing
Argument
Type
Default
b
bool
setBlockSize
(sz)
returns
nothing
Argument
Type
Default
sz
int
setConnectTimeout
(t)
returns
nothing
Argument
Type
Default
t
int
setEnableSSLTunnel
(enable)
returns
nothing
Argument
Type
Default
enable
bool
setRealHost
(realHost)
returns
nothing
Argument
Type
Default
realHost
TQString
setSSLMetaData
()
returns
nothing
startTLS
()
returns
(int)
stopTLS
()
returns
nothing
userAborted
()
returns
(bool)
usingSSL
()
returns
(bool)
In versions KDE 3.2.0 and above only
usingTLS
()
returns
(bool)
verifyCertificate
()
returns
(int)
waitForResponse
(t)
returns
(bool)
Argument
Type
Default
t
int
write
(data, len)
returns
(ssize_t)
Argument
Type
Default
data
void
len
ssize_t