Skip to content

Commit

Permalink
Thu Jun 17 15:09:43 UTC 2010 Dale Wilson <wilsond@ociweb.com>
Browse files Browse the repository at this point in the history
        * src/Communication/MulticastReceiver.h:
        * src/Communication/TCPReceiver.h:
          Provide direct access to the sockets inside the *Receivers
          for special purpose needs.  Until the encoder work is complete
          this can be used to send to the TCP counterpary.  The multicast
          method is there only for completeness.
  • Loading branch information
dale.wilson committed Jun 17, 2010
1 parent 68399db commit c1986e5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
@@ -1,3 +1,12 @@
Thu Jun 17 15:09:43 UTC 2010 Dale Wilson <wilsond@ociweb.com>

* src/Communication/MulticastReceiver.h:
* src/Communication/TCPReceiver.h:
Provide direct access to the sockets inside the *Receivers
for special purpose needs. Until the encoder work is complete
this can be used to send to the TCP counterpary. The multicast
method is there only for completeness.

Fri Jun 11 17:37:28 UTC 2010 Dale Wilson <wilsond@ociweb.com>

* src/Messages/MessageFormatter.h:
Expand Down
7 changes: 7 additions & 0 deletions src/Communication/MulticastReceiver.h
Expand Up @@ -140,6 +140,13 @@ namespace QuickFAST
}
}

/// Provide direct access to the internal asio socket.
boost::asio::ip::udp::socket & socket()
{
return socket_;
}


private:

bool fillBuffer(LinkedBuffer * buffer, boost::mutex::scoped_lock& lock)
Expand Down
6 changes: 6 additions & 0 deletions src/Communication/TCPReceiver.h
Expand Up @@ -97,6 +97,12 @@ namespace QuickFAST
catch(...){}
}

/// Provide direct access to the internal asio socket.
boost::asio::ip::tcp::socket & socket()
{
return socket_;
}

private:

bool fillBuffer(LinkedBuffer * buffer, boost::mutex::scoped_lock& lock)
Expand Down

0 comments on commit c1986e5

Please sign in to comment.