40 #include <QHostAddress>    42 #include <QStringList>    44 class ArnServerPrivate;
    59     QTcpSocket*  
socket()  
const;
    63     void  sendMessage( 
int type, 
const QByteArray& data = QByteArray());
    64     bool  getTraffic( quint64& in, quint64& out)  
const;
    73     void  doDestroyArnTree( 
const QString& path, 
bool isGlobal);
    74     void  onCommandDelete( 
const QString& path);
    75     void  doSyncStateChanged( 
int state);
    81     ArnItemNetEar*  _arnNetEar;
   115     ArnServer( Type serverType, QObject *parent = arnNullptr);
   124     void  start( 
int port = -1, QHostAddress listenAddr = QHostAddress::Any);
   135     QHostAddress  listenAddress();
   149     void  addAccess( 
const QString& userName, 
const QString& password, 
Arn::Allow allow);
   156     bool  isDemandLogin()  
const;
   163     void  setDemandLogin( 
bool isDemandLogin);
   175     void  setNoLoginNets( 
const QStringList& noLoginNets);
   181     QStringList  noLoginNets()  
const;
   188     bool  isDemandLoginNet( 
const QHostAddress& remoteAddr)  
const;
   199     void  addFreePath( 
const QString& path);
   206     QStringList  freePaths()  
const;
   225     ArnSyncLogin*  arnLogin()  
const;
   227     QByteArray  whoIAm()  
const;
   233     ArnServer( ArnServerPrivate& dd, QObject* parent);
   234     ArnServerPrivate* 
const  d_ptr;
   238     void tcpConnection();
   243 #endif // ARNSERVER_HPP 
Arn::XStringMap remoteWhoIAm() const
 
QTcpSocket * socket() const
 
Class for making an Arn Server. 
 
Container class with string representation for serialized data. 
 
bool getTraffic(quint64 &in, quint64 &out) const
 
ArnServerSession(QTcpSocket *socket, ArnServer *arnServer)
 
void messageReceived(int type, const QByteArray &data)
 
void infoReceived(int type)
 
QString loginUserName() const
 
#define ARNLIBSHARED_EXPORT
 
void sendMessage(int type, const QByteArray &data=QByteArray())
 
#define MQ_DECLARE_ENUM(EStruct)
Enums. 
 
Arn::Allow getAllow() const