{"action":"created","issue":{"url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/348","repository_url":"https://api.github.com/repos/fo-dicom/fo-dicom","labels_url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/348/comments","events_url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/348/events","html_url":"https://github.com/fo-dicom/fo-dicom/issues/348","id":176485787,"number":348,"title":"Add additional state arg to DicomServer constructor to allow passing data to DicomService","user":{"login":"jmiglietta-inc","id":2186333,"avatar_url":"https://avatars.githubusercontent.com/u/2186333?v=3","gravatar_id":"","url":"https://api.github.com/users/jmiglietta-inc","html_url":"https://github.com/jmiglietta-inc","followers_url":"https://api.github.com/users/jmiglietta-inc/followers","following_url":"https://api.github.com/users/jmiglietta-inc/following{/other_user}","gists_url":"https://api.github.com/users/jmiglietta-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/jmiglietta-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmiglietta-inc/subscriptions","organizations_url":"https://api.github.com/users/jmiglietta-inc/orgs","repos_url":"https://api.github.com/users/jmiglietta-inc/repos","events_url":"https://api.github.com/users/jmiglietta-inc/events{/privacy}","received_events_url":"https://api.github.com/users/jmiglietta-inc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T21:10:45Z","updated_at":"2016-09-14T13:04:59Z","closed_at":null,"body":"It would be helpful for configuring the service if a state argument could be passed to the DicomServer / DicomService objects.\r\n\r\ne.g\r\nDicomServer(int port, string certificateName = null, DicomServiceOptions options = null, Logger logger = null, object state = null);\r\n\r\nServerParams params = new ServerParams(localPort: 4242, localAET: \"storescp\", remoteAET: \"PHX\" );\r\nDicomServer server = DicomServer<CStoreSCP> server = new DicomServer<CStoreSCP>(port: params.LocalIpPort, state: params); \r\n\r\nThen...\r\n\r\npublic DicomService(Stream stream, Logger log, object state);\r\npublic DicomService(Stream stream, Encoding fallbackEncoding, Logger log, object state)\r\n\r\nThis could allow passing in the AET, storagePath , etc"},"comment":{"url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/comments/247006120","html_url":"https://github.com/fo-dicom/fo-dicom/issues/348#issuecomment-247006120","issue_url":"https://api.github.com/repos/fo-dicom/fo-dicom/issues/348","id":247006120,"user":{"login":"anders9ustafsson","id":6515030,"avatar_url":"https://avatars.githubusercontent.com/u/6515030?v=3","gravatar_id":"","url":"https://api.github.com/users/anders9ustafsson","html_url":"https://github.com/anders9ustafsson","followers_url":"https://api.github.com/users/anders9ustafsson/followers","following_url":"https://api.github.com/users/anders9ustafsson/following{/other_user}","gists_url":"https://api.github.com/users/anders9ustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/anders9ustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anders9ustafsson/subscriptions","organizations_url":"https://api.github.com/users/anders9ustafsson/orgs","repos_url":"https://api.github.com/users/anders9ustafsson/repos","events_url":"https://api.github.com/users/anders9ustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/anders9ustafsson/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T13:04:59Z","updated_at":"2016-09-14T13:04:59Z","body":"@jmiglietta-inc Good thinking. Will take this under thorough consideration for the next major release."}}
{"actor":{"display_login":"anders9ustafsson"}}