C# Class Iaik.Utils.Net.FrontEndConnection

Implements the IFrontEndConnection interface for common usage. This class can not be instantiated, use one of the implementations. Derived classes need to specify the FrontEndConnectionAttribute to identify the connections. If the attribute is not defined a NotSupportedException is thrown
Inheritance: Stream
Afficher le fichier Open project: areiter/InMemoryFuzzing

Protected Properties

Свойство Type Description
_logger log4net.ILog
_syncLock object

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the connection to the remote host

Connect ( ) : void

Connects to the remote host

Flush ( ) : void
FrontEndConnection ( ) : System
Read ( byte buffer, int offset, int length ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int length ) : void
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
RaiseConnectedEvent ( ) : void
RaiseDisconnectedEvent ( ) : void

Method Details

Close() public abstract méthode

Closes the connection to the remote host
public abstract Close ( ) : void
Résultat void

Connect() public abstract méthode

Connects to the remote host
public abstract Connect ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public abstract méthode

public abstract Flush ( ) : void
Résultat void

FrontEndConnection() public méthode

public FrontEndConnection ( ) : System
Résultat System

RaiseConnectedEvent() protected méthode

protected RaiseConnectedEvent ( ) : void
Résultat void

RaiseDisconnectedEvent() protected méthode

protected RaiseDisconnectedEvent ( ) : void
Résultat void

Read() public abstract méthode

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

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public abstract méthode

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

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void

Property Details

_logger protected_oe property

Logger
protected ILog,log4net _logger
Résultat log4net.ILog

_syncLock protected_oe property

Locks the connection, according to microsoft lock(this) is bad practise ;-)
protected object _syncLock
Résultat object