Commit 35e65391 authored by Davis King's avatar Davis King

minor cleanup

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404272
parent a25039b0
...@@ -504,44 +504,44 @@ namespace dlib ...@@ -504,44 +504,44 @@ namespace dlib
template < typename T, typename R > template < typename T, typename R >
void reconfigure ( void reconfigure (
listen_on_port list, listen_on_port network_params,
bridge_transmit_decoration<T> transmit_pipe, bridge_transmit_decoration<T> transmit_pipe,
bridge_receive_decoration<R> receive_pipe bridge_receive_decoration<R> receive_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,R>(list, &transmit_pipe.p, &receive_pipe.p)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,R>(network_params, &transmit_pipe.p, &receive_pipe.p)); }
template < typename T > template < typename T >
void reconfigure ( void reconfigure (
listen_on_port list, listen_on_port network_params,
bridge_transmit_decoration<T> transmit_pipe bridge_transmit_decoration<T> transmit_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,T>(list, &transmit_pipe.p, 0)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,T>(network_params, &transmit_pipe.p, 0)); }
template < typename R > template < typename R >
void reconfigure ( void reconfigure (
listen_on_port list, listen_on_port network_params,
bridge_receive_decoration<R> receive_pipe bridge_receive_decoration<R> receive_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<R,R>(list, 0, &receive_pipe.p)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<R,R>(network_params, 0, &receive_pipe.p)); }
template < typename T, typename R > template < typename T, typename R >
void reconfigure ( void reconfigure (
connect_to_ip_and_port con, connect_to_ip_and_port network_params,
bridge_transmit_decoration<T> transmit_pipe, bridge_transmit_decoration<T> transmit_pipe,
bridge_receive_decoration<R> receive_pipe bridge_receive_decoration<R> receive_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,R>(con, &transmit_pipe.p, &receive_pipe.p)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,R>(network_params, &transmit_pipe.p, &receive_pipe.p)); }
template < typename R > template < typename R >
void reconfigure ( void reconfigure (
connect_to_ip_and_port con, connect_to_ip_and_port network_params,
bridge_receive_decoration<R> receive_pipe bridge_receive_decoration<R> receive_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<R,R>(con, 0, &receive_pipe.p)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<R,R>(network_params, 0, &receive_pipe.p)); }
template < typename T > template < typename T >
void reconfigure ( void reconfigure (
connect_to_ip_and_port con, connect_to_ip_and_port network_params,
bridge_transmit_decoration<T> transmit_pipe bridge_transmit_decoration<T> transmit_pipe
) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,T>(con, &transmit_pipe.p, 0)); } ) { pimpl.reset(); pimpl.reset(new impl::impl_bridge<T,T>(network_params, &transmit_pipe.p, 0)); }
bridge_status get_bridge_status ( bridge_status get_bridge_status (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment