C# Class Dicom.Network.DcmSocket

Inheritance: IDisposable
Show file Open project: fo-dicom/mdcm Class Usage Examples

Public Methods

Method Description
Accept ( ) : DcmSocket
Bind ( EndPoint localEP ) : void
Close ( ) : void
Connect ( EndPoint remoteEP ) : void
Connect ( string host, int port ) : void
Create ( DcmSocketType type ) : DcmSocket
Dispose ( ) : void
GetInternalStream ( ) : Stream
GetStream ( ) : Stream
Hook ( HookStream stream ) : void
Listen ( int backlog ) : void
Poll ( int microSeconds, SelectMode mode ) : bool
Reconnect ( ) : void

Protected Methods

Method Description
RegisterSocket ( DcmSocket socket ) : void
UnregisterSocket ( DcmSocket socket ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Accept() public abstract method

public abstract Accept ( ) : DcmSocket
return DcmSocket

Bind() public abstract method

public abstract Bind ( EndPoint localEP ) : void
localEP System.Net.EndPoint
return void

Close() public abstract method

public abstract Close ( ) : void
return void

Connect() public abstract method

public abstract Connect ( EndPoint remoteEP ) : void
remoteEP System.Net.EndPoint
return void

Connect() public method

public Connect ( string host, int port ) : void
host string
port int
return void

Create() public static method

public static Create ( DcmSocketType type ) : DcmSocket
type DcmSocketType
return DcmSocket

Dispose() public method

public Dispose ( ) : void
return void

GetInternalStream() public abstract method

public abstract GetInternalStream ( ) : Stream
return Stream

GetStream() public method

public GetStream ( ) : Stream
return Stream

Hook() public method

public Hook ( HookStream stream ) : void
stream HookStream
return void

Listen() public abstract method

public abstract Listen ( int backlog ) : void
backlog int
return void

Poll() public abstract method

public abstract Poll ( int microSeconds, SelectMode mode ) : bool
microSeconds int
mode SelectMode
return bool

Reconnect() public abstract method

public abstract Reconnect ( ) : void
return void

RegisterSocket() protected static method

protected static RegisterSocket ( DcmSocket socket ) : void
socket DcmSocket
return void

UnregisterSocket() protected static method

protected static UnregisterSocket ( DcmSocket socket ) : void
socket DcmSocket
return void