{"action":"created","issue":{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/4","labels_url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/4/comments","events_url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/4/events","html_url":"https://github.com/keyboardsurfer/blinkendroid/issues/4","id":59808935,"number":4,"title":"Client bekommt regulaeren Server-Shutdown nicht mit","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T14:59:14Z","updated_at":"2015-03-04T14:59:15Z","closed_at":"2015-03-04T14:59:14Z","body":"```\nIch starte Client und Server auf getrennten Geraeten. Film laeuft auf\nClient, Client erscheint im Server.\n\nIch stoppe den Server mit dem Stop-Button. Der Client bekommt davon nichts\nmit und laeuft munter weiter. Eigentlich sollte der Film stoppen, ein Toast\n\"connection to server closed\" ausgegeben werden und der Owner angezeigt\nwerden. Soll heissen: connectionClosed() wird nicht aufgerufen.\n```\n\nOriginal issue reported on code.google.com by `andreas....@gmail.com` on 22 May 2010 at 6:13"},"comment":{"url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/comments/77172263","html_url":"https://github.com/keyboardsurfer/blinkendroid/issues/4#issuecomment-77172263","issue_url":"https://api.github.com/repos/keyboardsurfer/blinkendroid/issues/4","id":77172263,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T14:59:15Z","updated_at":"2015-03-04T14:59:15Z","body":"```\nDas Problem ist, das der RecieverThread im Server zum Client nicht richtig \nbeendet werden kann.\nder blocking read beim Server wird durch interrupt() nicht beendet. Dadurch \nblockiert ebenfalls der join.\n\nDas Problem müssen wir anders lösen. z.b. wie im folgenden Artikel[1] im \nAbschnitt \"Blocking I/O\" erklärt mit InterruptibleChannel[2]\n \n[1] http://forward.com.au/javaProgramming/HowToStopAThread.html\n[2] \nhttp://java.sun.com/j2se/1.5.0/docs/api/java/nio/channels/InterruptibleChannel.h\ntml\n```\n\nOriginal comment by `lischke@gmail.com` on 13 Jun 2010 at 12:58"}}