{"action":"closed","issue":{"url":"https://api.github.com/repos/voryx/ThruwayBundle/issues/9","labels_url":"https://api.github.com/repos/voryx/ThruwayBundle/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/voryx/ThruwayBundle/issues/9/comments","events_url":"https://api.github.com/repos/voryx/ThruwayBundle/issues/9/events","html_url":"https://github.com/voryx/ThruwayBundle/issues/9","id":58377487,"number":9,"title":"Accessing the opened client's session from elsewhere","user":{"login":"pdesmarais","id":1102291,"avatar_url":"https://avatars.githubusercontent.com/u/1102291?v=3","gravatar_id":"","url":"https://api.github.com/users/pdesmarais","html_url":"https://github.com/pdesmarais","followers_url":"https://api.github.com/users/pdesmarais/followers","following_url":"https://api.github.com/users/pdesmarais/following{/other_user}","gists_url":"https://api.github.com/users/pdesmarais/gists{/gist_id}","starred_url":"https://api.github.com/users/pdesmarais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdesmarais/subscriptions","organizations_url":"https://api.github.com/users/pdesmarais/orgs","repos_url":"https://api.github.com/users/pdesmarais/repos","events_url":"https://api.github.com/users/pdesmarais/events{/privacy}","received_events_url":"https://api.github.com/users/pdesmarais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-20T16:41:06Z","updated_at":"2015-02-20T18:19:57Z","closed_at":"2015-02-20T18:19:57Z","body":"Hi!\r\n\r\nI'm trying to figure out how to do this...\r\n\r\nI'm using a Symfony Command to start my Thruway Router AND initializing my Client at the same time (pretty much like in [ThruwayClientCommand](https://github.com/voryx/ThruwayBundle/blob/master/src/Voryx/ThruwayBundle/Command/ThruwayClientCommand.php) except that my copy is using my `SocketClient` class which itself extends `Thruway\\Peer\\Client`).\r\n\r\nCompletely outside of the loop and not even within my browser, an event happens and calls a method of an ObjectManager class that I have. I need that ObjectManager's method to be able to publish to the socket that is already running from my cli Command.\r\n\r\nHow would I go about doing this? Am I not seeing it the right way? Should I be creating a new client just for this?\r\n\r\nThanks!"}}