Click or drag to resize
GDStreamSocket Class
The BlackBerry Dynamics Socket API is for bi-directional data communications between the mobile application on the device and an application server. The application server can be on the Internet, or behind the enterprise firewall. Secure Socket Layer and Transport Layer Security (SSL/TLS) are supported. The BlackBerry Dynamics Socket functions cannot be called until BlackBerry Dynamics authorization processing is complete.
Inheritance Hierarchy
SystemObject
  GDGDStreamSocket

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public sealed class GDStreamSocket : IClosable

The GDStreamSocket type exposes the following members.

Constructors
  NameDescription
Public methodGDStreamSocket
Initializes a new instance of the GDStreamSocket class
Top
Properties
  NameDescription
Public propertyControl
Provides socket control data on a GDStreamSocket object.
Public propertyInformation
Gets socket information on a GDStreamSocket object.
Public propertyInputStream
Exposes IInputStream to enable sending data through the socket to the remote endpoint.
Public propertyOutputStream
Exposes IInputStream to enable receiving data from the remote endpoint through the socket.
Top
Methods
  NameDescription
Public methodConnectAsync(EndpointPair)
Establishes a connection to a remote host using provided EndpointPair.
Public methodConnectAsync(EndpointPair, SocketProtectionLevel)
Establishes a connection to a remote host using provided EndpointPair and SocketProtectionLevel.
Public methodConnectAsync(HostName, String)
Establishes a connection to a remote host using provided HostName and port number.
Public methodConnectAsync(HostName, String, SocketProtectionLevel)
Establishes a connection to a remote host using provided HostName port number and SocketProtectionLevel.
Public methodDisableHostVerification
This function disables host name verification, when making an SSL/TLS connection. Host name verification is an SSL/TLS security option.
Public methodDisablePeerVerification
This function disables certificate authenticity verification, when making an SSL/TLS connection. Authenticity verification is an SSL/TLS security option.
Public methodDisconnect
The Disconnect method aborts any pending operations and disconnects GDStreamSocket object.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUpgradeToSslAsync
Starts an asynchronous operation to upgrade a connected socket to use SSL on a GDStreamSocket object.
Top
See Also

Reference