Changed STUN message name to socket.stun.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1864 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-31 15:14:53 +00:00
parent ad70017d70
commit cf8847387b
2 changed files with 6 additions and 6 deletions

View File

@ -186,7 +186,7 @@ protected:
YJGConnection* m_conn; // Connection owning this object
bool m_mediaReady; // Media ready (updated) flag
bool m_transportReady; // Transport ready (both parties) flag
bool m_started; // True if chan.stun already sent
bool m_started; // True if socket.stun already sent
JGTransport* m_remote; // The remote transport info
};
@ -832,7 +832,7 @@ bool YJGData::rtp(bool start)
if (start) {
// Start STUN
Message* msg = new Message("chan.stun");
Message* msg = new Message("socket.stun");
msg->userData(m.userData());
msg->addParam("localusername",m_remote->username + username);
msg->addParam("remoteusername",username + m_remote->username);

View File

@ -35,7 +35,7 @@ using namespace TelEngine;
namespace { // anonymous
/*
chan.stun parameters
socket.stun parameters
uselocalusername Add USERNAME attribute when sending requests
Defaults to true
@ -64,7 +64,7 @@ class YStunMessage; // STUN message
class YStunUtils; // General usefull functions
class YStunMessageOut; // Outgoing STUN message (message + retransmission info)
class YStunSocketFilter; // Socket filter for STUN
class StunHandler; // chan.stun handler
class StunHandler; // socket.stun handler
class YStunPlugin; // The plugin
/**
@ -416,12 +416,12 @@ private:
};
/**
* chan.stun message handler
* socket.stun message handler
*/
class StunHandler : public MessageHandler
{
public:
StunHandler() : MessageHandler("chan.stun") {}
StunHandler() : MessageHandler("socket.stun") {}
// Process message. Create and install filter.
virtual bool received(Message &msg);
};