Skip to content

Instantly share code, notes, and snippets.

@y-oda-oni-juba
Created February 24, 2013 11:22
Show Gist options
  • Save y-oda-oni-juba/5023479 to your computer and use it in GitHub Desktop.
Save y-oda-oni-juba/5023479 to your computer and use it in GitHub Desktop.
jubatus-msgpack-rpc client に明示的 close/open 追加
void session::close() {
m_pimpl.reset();
}
void session::open(const std::string& host, uint16_t port, loop lo) {
m_pimpl = session_impl::create(tcp_builder(), ip_address(host, port), lo );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment