Property | Type | Description | |
---|---|---|---|
CloseStreamAfterTransaction | bool |
Method | Description | |
---|---|---|
ConnectionWriter ( ) : System | ||
ConnectionWriter ( |
||
Stop ( ) : void |
Stops reading and -if CloseStreamAfterTransaction is true- also closes the underlying stream.
|
|
WriteAll ( Stream stream ) : void |
If not writing yet, asynchronously sends everything that can be read from this stream.
|
|
WriteFile ( FileInfo file ) : void |
If not writing yet, opens a readonly-stream to the given file and will asynchronously send it to the remote connection.
|
Method | Description | |
---|---|---|
ContinueReadStreamData ( ) : void | ||
DataReadFailedNotify ( Exception e ) : void | ||
DataSentNotify ( ) : void | ||
InitWrite ( Stream stream ) : void | ||
OnInternalDisconnected ( Connection con, bool conLost ) : void | ||
OnInternalSent ( Connection con, int amount, bool hasReamining ) : void | ||
OnStreamRead ( IAsyncResult ar ) : void | ||
ResetAfterTransfer ( ) : void |
public ConnectionWriter ( |
||
con | ||
return | System |