Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit4aff80b

Browse files
committed
MbedClient: make status() private
1 parent636b20e commit4aff80b

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_tarduino::AClient::status() {
69-
if (!client)
70-
returnfalse;
71-
return client->status();
72-
}
73-
7468
IPAddressarduino::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
virtualexplicitoperatorbool();
3939
virtualuint8_tconnected();
40-
uint8_tstatus();
4140

4241
IPAddressremoteIP();
4342
uint16_tremotePort();

‎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
voidsetNetwork(NetworkInterface* network) {_network = network;}
5252

53-
uint8_tstatus();
5453
intconnect(SocketAddress socketAddress);
5554
virtualintconnect(IPAddress ip,uint16_t port);
5655
virtualintconnect(constchar* host,uint16_t port);
@@ -108,6 +107,7 @@ class MbedClient {
108107
rtos::Mutex* mutex =nullptr;
109108
unsignedlong _timeout;
110109

110+
uint8_tstatus();
111111
voidreadSocket();
112112
voidgetStatus();
113113
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp