![]() |
DEPRECATED: Diffusion Silverlight Classic API
5.9.4
|
Public Member Functions | |
DiffusionTransport (HtmlWindow htmlWindow, Dispatcher dispatcher, string host, int port, string topic, int maxBufferSize) | |
DiffusionTransport (HtmlWindow htmlWindow, Dispatcher dispatcher, string methodNameConnectionStatus, string methodNameDataEvent, string host, int port, string topic, int maxBufferSize) | |
void | Connect () |
void | Connect (string host, int port, string topic) |
Performs the connection. More... | |
void | Disconnect () |
void | HandleMessage (WebClientMessageEventArgs e) |
Delegates the message sending to the current web client (if any). More... | |
void | ComposeAndSendDiffusionMessage (string header, string message) |
Compose and send a message to the Diffusion server. More... | |
void | SendMessage (string topic, string aMessage) |
Sends a message to the Diffusion server. More... | |
void | SendTopicMessage (DiffusionTopicMessage aMessage) |
Sends a topic message to the Diffusion server; also handles message encryption. More... | |
void | SendMessageEncrypted (string topic, string aMessage) |
Sends an encrypted message to the Diffusion server. More... | |
void | SubscribeToTopic (string topic) |
Subscribes to a topic on the Diffusion server. More... | |
void | UnsubscribeFromTopic (string topic) |
Unsubscribes from a topic on the Diffusion server. More... | |
void | SendPingMessage (string timestamp) |
Sends a ping message to the Diffusion server. More... | |
void | InvokeMethodOnScriptObject (string objectName, string methodName, params object[] args) |
Invokes a named method on the named script object, or if the method name is null or empty, invokes the ScriptObject itself, assuming that it represents a JavaScript method. More... | |
void | InvokeSilverlightTransportMethod (string methodName, params object[] args) |
Sends a message via the Diffusion Silverlight JavaScript transport. More... | |
void | InvokeClientTransportMethod (string methodName, params object[] args) |
Sends a message via the Diffusion Client JavaScript transport. More... | |
void | AddScriptObject (string objectName, ScriptObject theObject) |
Stores a pointer to a Diffusion JavaScript object. More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Properties | |
bool | IsConnected [get] |
Dictionary< string, ScriptObject > | ScriptObjects [get] |
string | Host [get, set] |
int | Port [get, set] |
string | Topic [get, set] |
string | ClientId [get] |
PushTechnology.Transports.DiffusionTransport.DiffusionTransport | ( | HtmlWindow | htmlWindow, |
Dispatcher | dispatcher, | ||
string | host, | ||
int | port, | ||
string | topic, | ||
int | maxBufferSize | ||
) |
PushTechnology.Transports.DiffusionTransport.DiffusionTransport | ( | HtmlWindow | htmlWindow, |
Dispatcher | dispatcher, | ||
string | methodNameConnectionStatus, | ||
string | methodNameDataEvent, | ||
string | host, | ||
int | port, | ||
string | topic, | ||
int | maxBufferSize | ||
) |
void PushTechnology.Transports.DiffusionTransport.AddScriptObject | ( | string | objectName, |
ScriptObject | theObject | ||
) |
Stores a pointer to a Diffusion JavaScript object.
objectName | |
theObject |
void PushTechnology.Transports.DiffusionTransport.ComposeAndSendDiffusionMessage | ( | string | header, |
string | message | ||
) |
Compose and send a message to the Diffusion server.
header | |
message |
void PushTechnology.Transports.DiffusionTransport.Connect | ( | ) |
void PushTechnology.Transports.DiffusionTransport.Connect | ( | string | host, |
int | port, | ||
string | topic | ||
) |
Performs the connection.
host | |
port | |
topic |
void PushTechnology.Transports.DiffusionTransport.Disconnect | ( | ) |
void PushTechnology.Transports.DiffusionTransport.Dispose | ( | ) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
void PushTechnology.Transports.DiffusionTransport.HandleMessage | ( | WebClientMessageEventArgs | e | ) |
Delegates the message sending to the current web client (if any).
e |
void PushTechnology.Transports.DiffusionTransport.InvokeClientTransportMethod | ( | string | methodName, |
params object[] | args | ||
) |
Sends a message via the Diffusion Client JavaScript transport.
methodName | |
args |
void PushTechnology.Transports.DiffusionTransport.InvokeMethodOnScriptObject | ( | string | objectName, |
string | methodName, | ||
params object[] | args | ||
) |
Invokes a named method on the named script object, or if the method name is null or empty, invokes the ScriptObject itself, assuming that it represents a JavaScript method.
objectName | |
methodName | |
args |
void PushTechnology.Transports.DiffusionTransport.InvokeSilverlightTransportMethod | ( | string | methodName, |
params object[] | args | ||
) |
Sends a message via the Diffusion Silverlight JavaScript transport.
methodName | |
args |
void PushTechnology.Transports.DiffusionTransport.SendMessage | ( | string | topic, |
string | aMessage | ||
) |
Sends a message to the Diffusion server.
topic | |
aMessage |
void PushTechnology.Transports.DiffusionTransport.SendMessageEncrypted | ( | string | topic, |
string | aMessage | ||
) |
Sends an encrypted message to the Diffusion server.
topic | |
aMessage |
void PushTechnology.Transports.DiffusionTransport.SendPingMessage | ( | string | timestamp | ) |
Sends a ping message to the Diffusion server.
timestamp |
void PushTechnology.Transports.DiffusionTransport.SendTopicMessage | ( | DiffusionTopicMessage | aMessage | ) |
Sends a topic message to the Diffusion server; also handles message encryption.
aMessage |
void PushTechnology.Transports.DiffusionTransport.SubscribeToTopic | ( | string | topic | ) |
Subscribes to a topic on the Diffusion server.
topic |
void PushTechnology.Transports.DiffusionTransport.UnsubscribeFromTopic | ( | string | topic | ) |
Unsubscribes from a topic on the Diffusion server.
topic |
|
get |
|
getset |
|
get |
|
getset |
|
get |
|
getset |