00001 00002 #include "virtual_client.h" 00003 00004 00005 VirtualClient::VirtualClient( QObject *parent ) : QObject( parent ) 00006 { 00007 _localPort = 0 ; 00008 _serverPort = 0 ; 00009 _serverAddress = QString() ; 00010 } 00011 00012 00013 void VirtualClient::setServerPort( quint16 port ) 00014 { 00015 _serverPort = port ; 00016 } 00017 00018 void VirtualClient::setServerAddress( QString address ) 00019 { 00020 _serverAddress = address ; 00021 } 00022 00023 void VirtualClient::setLocalPort( quint16 port ) 00024 { 00025 _localPort = port ; 00026 }