#include <FtpDataStream.h>
◆ FtpDataStream()
◆ close()
| virtual void TcpConnection::close |
( |
| ) |
|
|
virtualinherited |
◆ connect() [1/2]
| virtual bool TcpConnection::connect |
( |
const String & |
server, |
|
|
int |
port, |
|
|
bool |
useSsl = false |
|
) |
| |
|
virtualinherited |
◆ connect() [2/2]
◆ finishTransfer()
| void FtpDataStream::finishTransfer |
( |
| ) |
|
|
inline |
◆ flush()
| void TcpConnection::flush |
( |
| ) |
|
|
inherited |
◆ getAvailableWriteSize()
| uint16_t TcpConnection::getAvailableWriteSize |
( |
| ) |
|
|
inlineinherited |
◆ getRemoteIp()
| IpAddress TcpConnection::getRemoteIp |
( |
| ) |
const |
|
inlineinherited |
◆ getRemotePort()
| uint16_t TcpConnection::getRemotePort |
( |
| ) |
const |
|
inlineinherited |
◆ getSsl()
Get a pointer to the current SSL session object.
Note that this is typically used so we can query properties of an established session. If you need to change session parameters this must be done via setSslInitHandler.
◆ initialize()
| void TcpConnection::initialize |
( |
tcp_pcb * |
pcb | ) |
|
|
protectedinherited |
◆ internalConnect()
◆ internalOnConnected()
| err_t TcpConnection::internalOnConnected |
( |
err_t |
err | ) |
|
|
protectedinherited |
◆ internalOnDnsResponse()
| void TcpConnection::internalOnDnsResponse |
( |
const char * |
name, |
|
|
LWIP_IP_ADDR_T * |
ipaddr, |
|
|
int |
port |
|
) |
| |
|
protectedinherited |
◆ internalOnError()
| void TcpConnection::internalOnError |
( |
err_t |
err | ) |
|
|
protectedinherited |
◆ internalOnPoll()
| err_t TcpConnection::internalOnPoll |
( |
| ) |
|
|
protectedinherited |
◆ internalOnReceive()
| err_t TcpConnection::internalOnReceive |
( |
pbuf * |
p, |
|
|
err_t |
err |
|
) |
| |
|
protectedinherited |
◆ internalOnSent()
| err_t TcpConnection::internalOnSent |
( |
uint16_t |
len | ) |
|
|
protectedinherited |
◆ onConnected()
| err_t FtpDataStream::onConnected |
( |
err_t |
err | ) |
|
|
inlineoverridevirtual |
◆ onError()
| virtual void TcpConnection::onError |
( |
err_t |
err | ) |
|
|
protectedvirtualinherited |
◆ onPoll()
| virtual err_t TcpConnection::onPoll |
( |
| ) |
|
|
protectedvirtualinherited |
◆ onReadyToSendData()
◆ onReceive()
| virtual err_t TcpConnection::onReceive |
( |
pbuf * |
buf | ) |
|
|
protectedvirtualinherited |
◆ onSent()
| err_t FtpDataStream::onSent |
( |
uint16_t |
len | ) |
|
|
inlineoverridevirtual |
◆ response()
| void FtpDataStream::response |
( |
int |
code, |
|
|
String |
text = nullptr |
|
) |
| |
|
inline |
◆ setDestroyedDelegate()
Sets a callback to be called when the object instance is destroyed.
- Parameters
-
◆ setSslConnection()
◆ setSslInitHandler()
Set the SSL session initialisation callback.
- Parameters
-
◆ setTimeOut()
| void TcpConnection::setTimeOut |
( |
uint16_t |
waitTimeOut | ) |
|
|
inherited |
◆ sslCreateSession()
| bool TcpConnection::sslCreateSession |
( |
| ) |
|
|
protectedinherited |
◆ sslInitSession()
| virtual void TcpConnection::sslInitSession |
( |
Ssl::Session & |
session | ) |
|
|
inlineprotectedvirtualinherited |
Override in inherited classes to perform custom session initialisation.
Called when TCP connection is established before initiating handshake.
Reimplemented in HttpClientConnection.
◆ transferData()
◆ trySend()
◆ write() [1/2]
| int FtpDataStream::write |
( |
const char * |
data, |
|
|
int |
len, |
|
|
uint8_t |
apiflags = 0 |
|
) |
| |
|
inlineoverridevirtual |
Base write operation.
- Parameters
-
| data | |
| len | |
| apiflags | TCP_WRITE_FLAG_COPY, TCP_WRITE_FLAG_MORE |
- Return values
-
Reimplemented from TcpConnection.
◆ write() [2/2]
◆ writeString() [1/2]
| int TcpConnection::writeString |
( |
const char * |
data, |
|
|
uint8_t |
apiflags = TCP_WRITE_FLAG_COPY |
|
) |
| |
|
inlineinherited |
◆ writeString() [2/2]
| int TcpConnection::writeString |
( |
const String & |
data, |
|
|
uint8_t |
apiflags = TCP_WRITE_FLAG_COPY |
|
) |
| |
|
inlineinherited |
◆ autoSelfDestruct
| bool TcpConnection::autoSelfDestruct = true |
|
protectedinherited |
◆ canSend
| bool TcpConnection::canSend = true |
|
protectedinherited |
◆ completed
| bool FtpDataStream::completed = false |
|
protected |
◆ parent
◆ sent
| unsigned FtpDataStream::sent = 0 |
|
protected |
◆ sleep
◆ ssl
◆ sslInit
◆ tcp
| tcp_pcb* TcpConnection::tcp = nullptr |
|
protectedinherited |
◆ timeOut
| uint16_t TcpConnection::timeOut = USHRT_MAX |
|
protectedinherited |
By default a TCP connection does not have a time out.
◆ useSsl
| bool TcpConnection::useSsl = false |
|
protectedinherited |
◆ written
| unsigned FtpDataStream::written = 0 |
|
protected |
The documentation for this class was generated from the following file: