C# Class Dicom.Network.NetworkErrorStream

Inheritance: HookStream
Afficher le fichier Open project: fo-dicom/mdcm

Private Properties

Свойство Type Description
FlipCoin bool

Méthodes publiques

Méthode Description
NetworkErrorStream ( DcmSocket socket ) : System
Read ( byte buffer, int offset, int count ) : int
SetErrorClose ( int secondsTillError, bool readOnly ) : void
SetErrorGarbage ( int secondsTillError, bool readOnly ) : void
SetErrorTimeout ( int secondsTillError, bool readOnly ) : void
Write ( byte buffer, int offset, int count ) : void

Private Methods

Méthode Description
FlipCoin ( ) : bool

Method Details

NetworkErrorStream() public méthode

public NetworkErrorStream ( DcmSocket socket ) : System
socket DcmSocket
Résultat System

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

SetErrorClose() public méthode

public SetErrorClose ( int secondsTillError, bool readOnly ) : void
secondsTillError int
readOnly bool
Résultat void

SetErrorGarbage() public méthode

public SetErrorGarbage ( int secondsTillError, bool readOnly ) : void
secondsTillError int
readOnly bool
Résultat void

SetErrorTimeout() public méthode

public SetErrorTimeout ( int secondsTillError, bool readOnly ) : void
secondsTillError int
readOnly bool
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void