Method | Description | |
---|---|---|
ObservableStream ( ) : System |
Default constructor
|
|
ObservableStream ( byte buffer ) : System |
Byte-buffer constructor
|
|
ObservableStream ( byte buffer, bool writable ) : System |
See MSDN Reference for Memory Stream for Details
|
|
ObservableStream ( byte buffer, int index, int count ) : System |
See MSDN Reference for Memory Stream for Details
|
|
ObservableStream ( byte buffer, int index, int count, bool writable ) : System |
See MSDN Reference for Memory Stream for Details
|
|
ObservableStream ( byte buffer, int index, int count, bool writable, bool isVisible ) : System |
See MSDN Reference for Memory Stream for Details
|
|
ObservableStream ( int capacity ) : System |
Capacity contructor. Create a buffer with the given capacity
|
|
WaitForMore ( int how_many = 15000 ) : void |
Sets the waiting state for the stream and sets the position waited.
|
|
Write ( byte buffer, int offset, int count ) : void |
This method after the call of the base class implementation uses the launchEvent method to raise the right event See MSDN Reference for Memory Stream for Details.
|
|
WriteByte ( byte value ) : void |
This method after the call of the base class implementation uses the launchEvent method to raise the right event See MSDN Reference for Memory Stream for Details.
|
Method | Description | |
---|---|---|
OnPositionChanges ( |
This method calls the event handler for the position changed event
|
|
OnWaitedPositionReached ( |
This method calls the event handler for the waited position reached event
|
Method | Description | |
---|---|---|
launchEvent ( ) : void |
This method is used to launch stream events. This performs check for waiting state and last launched position and raise the right event in the right moment.
|
public ObservableStream ( byte buffer ) : System | ||
buffer | byte | Byte buffer used by the stream |
return | System |
public ObservableStream ( byte buffer, bool writable ) : System | ||
buffer | byte | |
writable | bool | |
return | System |
public ObservableStream ( byte buffer, int index, int count ) : System | ||
buffer | byte | |
index | int | |
count | int | |
return | System |
public ObservableStream ( byte buffer, int index, int count, bool writable ) : System | ||
buffer | byte | |
index | int | |
count | int | |
writable | bool | |
return | System |
public ObservableStream ( byte buffer, int index, int count, bool writable, bool isVisible ) : System | ||
buffer | byte | |
index | int | |
count | int | |
writable | bool | |
isVisible | bool | |
return | System |
public ObservableStream ( int capacity ) : System | ||
capacity | int | Capacity of the stream buffer |
return | System |
protected OnPositionChanges ( |
||
args | Arguments that will be passed to the handler | |
return | void |
protected OnWaitedPositionReached ( |
||
args | Arguments that will be passed to the handler | |
return | void |
public WaitForMore ( int how_many = 15000 ) : void | ||
how_many | int | Number of bytes needed. Default is 15000 |
return | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |