C# 클래스 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
상속: Stream
파일 보기 프로젝트 열기: areiter/InMemoryFuzzing

보호된 프로퍼티들

프로퍼티 타입 설명
_logger log4net.ILog
_syncLock object

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
RaiseConnectedEvent ( ) : void
RaiseDisconnectedEvent ( ) : void

메소드 상세

Close() 공개 추상적인 메소드

Closes the connection to the remote host
public abstract Close ( ) : void
리턴 void

Connect() 공개 추상적인 메소드

Connects to the remote host
public abstract Connect ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 추상적인 메소드

public abstract Flush ( ) : void
리턴 void

FrontEndConnection() 공개 메소드

public FrontEndConnection ( ) : System
리턴 System

RaiseConnectedEvent() 보호된 메소드

protected RaiseConnectedEvent ( ) : void
리턴 void

RaiseDisconnectedEvent() 보호된 메소드

protected RaiseDisconnectedEvent ( ) : void
리턴 void

Read() 공개 추상적인 메소드

public abstract Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 추상적인 메소드

public abstract Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void

프로퍼티 상세

_logger 보호되어 있는 프로퍼티

Logger
protected ILog,log4net _logger
리턴 log4net.ILog

_syncLock 보호되어 있는 프로퍼티

Locks the connection, according to microsoft lock(this) is bad practise ;-)
protected object _syncLock
리턴 object