Patronum
|
The LocalSocket class this socket work only with locale data. More...
#include <localsocket.h>
Signals | |
void | sigReceve (QByteArray data) |
void | sigStateChanged (State state) |
Public Member Functions | |
LocalSocket (const QString &target) | |
LocalSocket. More... | |
bool | send (const QByteArray &data) |
send - send data to service More... | |
bool | isValid () const |
isValid - check validation of socket More... | |
bool | reconnect () |
reconnect More... | |
![]() | |
ISocketWraper () | |
virtual void | sigReceve (QByteArray data)=0 |
sigReceve - this method is a prototype of received data signal More... | |
virtual void | sigStateChanged (State state)=0 |
sigStateChanged - this method is a prototype of chnage state signal More... | |
State | state () const |
Additional Inherited Members | |
![]() | |
State | m_state = State::Disconeccted |
The LocalSocket class this socket work only with locale data.
Definition at line 15 of file localsocket.h.
Patronum::LocalSocket::LocalSocket | ( | const QString & | target | ) |
target | - target it is localSocket name or ip:port |
Definition at line 6 of file localsocket.cpp.
|
virtual |
isValid - check validation of socket
Implements Patronum::ISocketWraper.
Definition at line 26 of file localsocket.cpp.
|
virtual |
reconnect
Implements Patronum::ISocketWraper.
Definition at line 30 of file localsocket.cpp.
|
virtual |
send - send data to service
data |
Implements Patronum::ISocketWraper.
Definition at line 18 of file localsocket.cpp.
|
signal |
|
signal |