Property | Type | Description | |
---|---|---|---|
lastDecode | TypedObject |
Property | Type | Description | |
---|---|---|---|
DSId | string | ||
aec | |||
app | string | ||
callbacks | AsyncCallback>.Dictionary | ||
connected | bool | ||
input | NetworkStream | ||
invokeID | int | ||
output | |||
pageUrl | string | ||
pendingInvokes | HashSet |
||
port | int | ||
pr | |||
rand | |||
server | string | ||
sslsocket | Socket | ||
swfUrl | string |
Method | Description | |
---|---|---|
Close ( ) : void |
Closes the connection
|
|
Connect ( ) : void | ||
GetResult ( int id ) : TypedObject |
Blocks and waits for the invoke's result to be ready. then removes and returns it.
|
|
IsConnected ( ) : bool |
Returns the next invoke ID
|
|
PeekResult ( int id ) : TypedObject |
Removes and returns a result for a given invoke ID if it's ready.
|
|
RTMPSClient ( string server, int port, string app, string swfUrl, string pageUrl ) : System |
Sets up the client with given parameters
|
|
SetConnectionInfo ( string server, int port, string app, string swfUrl, string pageUrl ) : void |
Sets up the client with given parameters
|
|
WriteInvoke ( string destination, object operation, object body ) : int |
Invokes something.
|
|
WriteInvokeWithCallback ( string destination, object operation, object body, AsyncCallback cb ) : int |
Invokes something asynchronously.
|
|
join ( ) : void |
Waits until all results have been returned.
|
|
join ( int id ) : void |
Waits until specified result returns.
|
Method | Description | |
---|---|---|
RTMPSClient ( ) : System | ||
nextInvokeID ( ) : int |
Returns the next invoke ID to use.
|
|
wrapBody ( object body, string destination, object operation ) : TypedObject |
Sets up a body in a full RemotingMessage With headers, etc.
|
Method | Description | |
---|---|---|
doHandshake ( ) : void |
Executes a full RTMP handshake
|
public GetResult ( int id ) : TypedObject | ||
id | int | The invoke ID. |
return | TypedObject |
public PeekResult ( int id ) : TypedObject | ||
id | int | The invoke ID. |
return | TypedObject |
public RTMPSClient ( string server, int port, string app, string swfUrl, string pageUrl ) : System | ||
server | string | The RTMPS server address |
port | int | the RTMPS server port |
app | string | The app to use in connect call |
swfUrl | string | the swf URL to use in connect call |
pageUrl | string | the page URL to use in connect call |
return | System |
public SetConnectionInfo ( string server, int port, string app, string swfUrl, string pageUrl ) : void | ||
server | string | The RTMPS server address |
port | int | the RTMPS server port |
app | string | The app to use in connect call |
swfUrl | string | the swf URL to use in connect call |
pageUrl | string | the page URL to use in connect call |
return | void |
public WriteInvoke ( string destination, object operation, object body ) : int | ||
destination | string | The destination |
operation | object | The operation |
body | object | The arguments |
return | int |
public WriteInvokeWithCallback ( string destination, object operation, object body, AsyncCallback cb ) : int | ||
destination | string | The destination |
operation | object | The operation |
body | object | The arguments |
cb | AsyncCallback | The AsyncCallback that will recieve the result. |
return | int |
protected wrapBody ( object body, string destination, object operation ) : TypedObject | ||
body | object | The body to wrap. |
destination | string | The destination. |
operation | object | The operation |
return | TypedObject |
protected BufferedStream,System.IO output | ||
return |