Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/DicomServer.cpp @ 128:2a24f43d9dca
fix for windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Oct 2012 17:49:50 +0200 |
parents | 2d96cb181f45 |
children | fe180eae201d |
comparison
equal
deleted
inserted
replaced
127:7517cbe58623 | 128:2a24f43d9dca |
---|---|
111 DicomServer::~DicomServer() | 111 DicomServer::~DicomServer() |
112 { | 112 { |
113 Stop(); | 113 Stop(); |
114 } | 114 } |
115 | 115 |
116 void DicomServer::SetPort(uint16_t port) | 116 void DicomServer::SetPortNumber(uint16_t port) |
117 { | 117 { |
118 Stop(); | 118 Stop(); |
119 port_ = port; | 119 port_ = port; |
120 } | 120 } |
121 | 121 |
122 uint16_t DicomServer::GetPort() const | 122 uint16_t DicomServer::GetPortNumber() const |
123 { | 123 { |
124 return port_; | 124 return port_; |
125 } | 125 } |
126 | 126 |
127 void DicomServer::SetThreaded(bool isThreaded) | 127 void DicomServer::SetThreaded(bool isThreaded) |