8000 MbedClient: make status() private · arduino/ArduinoCore-mbed@4aff80b · GitHub
[go: up one dir, main page]

Skip to content
Sign in

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4aff80b

Browse files
committed
MbedClient: make status() private
1 parent 636b20e commit 4aff80b

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

libraries/SocketWrapper/src/AClient.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ uint8_t arduino::AClient::connected() {
6565
return client->connected();
6666
}
6767

68-
uint8_t arduino::AClient::status() {
69-
if (!client)
70-
return false;
71-
return client->status();
72-
}
73-
7468
IPAddress arduino::AClient::remoteIP() {
7569
if (!client)
7670
return INADDR_NONE;

libraries/SocketWrapper/src/AClient.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class AClient : public Client {
3737

3838
virtual explicit operator bool();
3939
virtual uint8_t connected();
40-
uint8_t status();
4140

4241
IPAddress remoteIP();
4342
uint16_t remotePort();

libraries/SocketWrapper/src/MbedClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class MbedClient {
5050

5151
void setNetwork(NetworkInterface* network) {_network = network;}
5252

53-
uint8_t status();
5453
int connect(SocketAddress socketAddress);
5554
virtual int connect(IPAddress ip, uint16_t port);
5655
virtual int connect(const char* host, uint16_t port);
@@ -108,6 +107,7 @@ class MbedClient {
108107
rtos::Mutex* mutex = nullptr;
109108
unsigned long _timeout;
110109

110+
uint8_t status();
111111
void readSocket();
112112
void getStatus();
113113
};

0 commit comments

Comments
 (0)
0