Represents a socket connection to a Diffusion server.
More...
Represents a socket connection to a Diffusion server.
PushTechnology.Transports.DiffusionSocket.DiffusionSocket |
( |
string |
host, |
|
|
int |
port, |
|
|
string |
topic, |
|
|
int |
maxBufferSize, |
|
|
bool |
cascade |
|
) |
| |
Constructor.
- Parameters
-
host | |
port | |
topic | |
maxBufferSize | |
cascade | |
void PushTechnology.Transports.DiffusionSocket.Connect |
( |
string |
host, |
|
|
int |
port, |
|
|
string |
topic |
|
) |
| |
void PushTechnology.Transports.DiffusionSocket.Disconnect |
( |
| ) |
|
void PushTechnology.Transports.DiffusionSocket.Dispose |
( |
| ) |
|
virtual void PushTechnology.Transports.DiffusionSocket.DoPostConnectionProcessing |
( |
SocketAsyncEventArgs |
e | ) |
|
|
protectedvirtual |
Performs post-connection activities including gathering the client id.
virtual void PushTechnology.Transports.DiffusionSocket.FinalisePostProcessing |
( |
ByteBuffer |
initialResponse | ) |
|
|
protectedvirtual |
Called when we have a complete initial response buffer.
- Parameters
-
virtual ByteBuffer PushTechnology.Transports.DiffusionSocket.GetInitialResponse |
( |
| ) |
|
|
protectedvirtual |
void PushTechnology.Transports.DiffusionSocket.Send |
( |
byte[] |
buffer | ) |
|
Send a sequence of bytes to the Diffusion server.
- Parameters
-
string PushTechnology.Transports.DiffusionSocket.SendReceiveTextToSocketClient |
( |
string |
text | ) |
|
void PushTechnology.Transports.DiffusionSocket.SendTextToSocketClient |
( |
string |
text | ) |
|
Send a string to a connected socket.
- Parameters
-
virtual ByteBuffer PushTechnology.Transports.DiffusionSocket.WriteRegistrationHeader |
( |
| ) |
|
|
protectedvirtual |
bool PushTechnology.Transports.DiffusionSocket.Cascade |
|
getset |
Flag to indicate a transport cascade.
string PushTechnology.Transports.DiffusionSocket.ClientId |
|
getset |
The login credentials for the connection.
string PushTechnology.Transports.DiffusionSocket.Host |
|
getset |
The host address of the Diffusion server.
bool PushTechnology.Transports.DiffusionSocket.IsConnected |
|
get |
int PushTechnology.Transports.DiffusionSocket.Port |
|
getset |
The port of the Diffusion server.
int PushTechnology.Transports.DiffusionSocket.ServerProtocolVersion |
|
getset |
string PushTechnology.Transports.DiffusionSocket.Topic |
|
getset |
The topics to subscribe to on the Diffusion server.
The documentation for this class was generated from the following file:
- /home/jenkins/workspace/CoreDocs5.9/Diffusion/R59/silverlight/DiffusionTransport/DiffusionTransport/DiffusionSocket.cs