{"action":"created","issue":{"url":"https://api.github.com/repos/tarosuke/toolbox/issues/18","labels_url":"https://api.github.com/repos/tarosuke/toolbox/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tarosuke/toolbox/issues/18/comments","events_url":"https://api.github.com/repos/tarosuke/toolbox/issues/18/events","html_url":"https://github.com/tarosuke/toolbox/issues/18","id":69698181,"number":18,"title":"通信フレームワークを準備","user":{"login":"tarosuke","id":3049115,"avatar_url":"https://avatars.githubusercontent.com/u/3049115?v=3","gravatar_id":"","url":"https://api.github.com/users/tarosuke","html_url":"https://github.com/tarosuke","followers_url":"https://api.github.com/users/tarosuke/followers","following_url":"https://api.github.com/users/tarosuke/following{/other_user}","gists_url":"https://api.github.com/users/tarosuke/gists{/gist_id}","starred_url":"https://api.github.com/users/tarosuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarosuke/subscriptions","organizations_url":"https://api.github.com/users/tarosuke/orgs","repos_url":"https://api.github.com/users/tarosuke/repos","events_url":"https://api.github.com/users/tarosuke/events{/privacy}","received_events_url":"https://api.github.com/users/tarosuke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-20T22:47:10Z","updated_at":"2015-04-24T13:33:28Z","closed_at":null,"body":"- [ ] wO::Resource(子に一意のIDを割り振り、相互に検索できるようにする＆パケットを受け取ってリソースIDを検索して適切なインスタンスへ投げ込む。実際の受け取りは多態で実現)\r\n- [ ] wO::Sock(汎用ソケット：子としてTCPやパイプ、UNIXドメインなど-つまりファイルハンドル扱い＆受信したらResourceへ投入、受信待ちのためThreadの子)\r\n- [ ] wO::Pack(パケット)\r\n- [ ] wO::Server(接続を待ち、接続されたらwO::Sockをnew、子としてTCPやパイプ、UNIXドメインなど。接続待ちのためThreadの子)"},"comment":{"url":"https://api.github.com/repos/tarosuke/toolbox/issues/comments/95933518","html_url":"https://github.com/tarosuke/toolbox/issues/18#issuecomment-95933518","issue_url":"https://api.github.com/repos/tarosuke/toolbox/issues/18","id":95933518,"user":{"login":"tarosuke","id":3049115,"avatar_url":"https://avatars.githubusercontent.com/u/3049115?v=3","gravatar_id":"","url":"https://api.github.com/users/tarosuke","html_url":"https://github.com/tarosuke","followers_url":"https://api.github.com/users/tarosuke/followers","following_url":"https://api.github.com/users/tarosuke/following{/other_user}","gists_url":"https://api.github.com/users/tarosuke/gists{/gist_id}","starred_url":"https://api.github.com/users/tarosuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarosuke/subscriptions","organizations_url":"https://api.github.com/users/tarosuke/orgs","repos_url":"https://api.github.com/users/tarosuke/repos","events_url":"https://api.github.com/users/tarosuke/events{/privacy}","received_events_url":"https://api.github.com/users/tarosuke/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T13:33:28Z","updated_at":"2015-04-24T13:33:28Z","body":"相手側で生成されたIDでインスタンスを登録する必要もある。つまりID付きでwO::Resourceを生成したらIDを生成せずに受け取ったIDでインスタンスを登録する。そうすると双方向でIDを生成すると衝突が多くなって困る可能性があるのでそれを回避する方法を考えなければならない。たとえば衝突しない時は2つ進め、衝突したら1つ進めると複数回衝突することはほとんどなくなる...というような。"}}