Accepts a connection request from an SCU.
public void Accept(
Leadtools.Dicom.Networking.DicomNet net,
object hHandle
)
Public Sub Accept( _
ByVal net As Leadtools.Dicom.Networking.DicomNet, _
ByVal hHandle As Object _
)
public void Accept(
Leadtools.Dicom.Networking.DicomNet net,
object hHandle
)
function Leadtools.Dicom.Networking.DicomNet.Accept(
net ,
hHandle
)
public:
void Accept(
Leadtools.Dicom.Networking.DicomNet^ net,
Object^ hHandle
)
net
A DicomNet object that represents the client (the SCU).
hHandle
Internal value used by LEAD. Required when accepting a new connection.
When an SCU requests a connection by calling Connect, a call to the OnAccept method is generated on the SCP. Within the OnAccept method, the SCP can decide whether to accept the connection or not. If the connection is accepted, Accept is called. This generates a call to the OnConnect method on the SCU, letting the SCU know the connection has been made. You should always accept a connection request. Once the connection is made you can check the SCU and close the connection if you do not wish to maintain it. Since the connection requests are queued, if you do not accept a connection, it remains in the queue. When the next request is received, it is placed in the queue behind the first request. Calling Accept at this point will connect the first request, not the second, since the first request is still in the queue.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET