/[resiprocate]/main/reTurn/TurnAllocation.hxx
ViewVC logotype

Diff of /main/reTurn/TurnAllocation.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7521 by sgodin, Sun Jan 6 18:27:47 2008 UTC revision 7526 by sgodin, Wed Jan 9 22:31:26 2008 UTC
# Line 51  Line 51 
51     void onSocketDestroyed();     void onSocketDestroyed();
52    
53     // Used when framed data is received from client, to forward data to peer     // Used when framed data is received from client, to forward data to peer
54     void sendDataToPeer(unsigned short channelNumber, boost::shared_ptr<DataBuffer> data, bool framed);     void sendDataToPeer(unsigned short channelNumber, boost::shared_ptr<DataBuffer>& data, bool framed);
55     // Used when Send Indication is received from client, to forward data to peer     // Used when Send Indication is received from client, to forward data to peer
56     void sendDataToPeer(unsigned short channelNumber, const StunTuple& peerAddress, boost::shared_ptr<DataBuffer> data, bool framed);       void sendDataToPeer(unsigned short channelNumber, const StunTuple& peerAddress, boost::shared_ptr<DataBuffer>& data, bool framed);  
57     // Used when Data is received from peer, to forward data to client     // Used when Data is received from peer, to forward data to client
58     void sendDataToClient(const StunTuple& peerAddress, boost::shared_ptr<DataBuffer> data);     void sendDataToClient(const StunTuple& peerAddress, boost::shared_ptr<DataBuffer>& data);
59    
60     // Called when a ChannelConfirmed Indication is received     // Called when a ChannelConfirmed Indication is received
61     void serverToClientChannelConfirmed(unsigned short channelNumber, const StunTuple& peerAddress);     void serverToClientChannelConfirmed(unsigned short channelNumber, const StunTuple& peerAddress);
# Line 66  Line 66 
66    
67  private:  private:
68     // Used when there is any data to send to the peer, after channel has been identified     // Used when there is any data to send to the peer, after channel has been identified
69     void sendDataToPeer(const StunTuple& peerAddress, boost::shared_ptr<DataBuffer> data, bool framed);       void sendDataToPeer(const StunTuple& peerAddress, boost::shared_ptr<DataBuffer>& data, bool framed);  
70    
71     TurnAllocationKey mKey;  // contains ClientLocalTuple and clientRemoteTuple     TurnAllocationKey mKey;  // contains ClientLocalTuple and clientRemoteTuple
72     StunAuth  mClientAuth;     StunAuth  mClientAuth;

Legend:
Removed from v.7521  
changed lines
  Added in v.7526

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27