BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.Networking.Sockets.IBBDSocketFactory Interface Reference

Interface containing methods for creating IBBDSocket. More...

Public Member Functions

IBBDSocket CreateBBDSocket (string url, int port, int bufferSize)
 Creates BBD socket. More...
 
IBBDSocket CreateSecureBBDSocket (string url, int port, int bufferSize)
 Creates secure BBD socket. More...
 

Detailed Description

Interface containing methods for creating IBBDSocket.

Member Function Documentation

◆ CreateBBDSocket()

IBBDSocket BBDXamarinForms.Common.Interfaces.Networking.Sockets.IBBDSocketFactory.CreateBBDSocket ( string  url,
int  port,
int  bufferSize 
)

Creates BBD socket.

Parameters
urlString containing the address of the server. Can be either an Internet Protocol address (IP address, for example "192.168.1.10"), or a fully qualified domain name (for example "www.example.com").
portNumber of the server port to which the socket will connect.
bufferSizeThe size of buffer into which the data is read.
Returns
Not secure IBBDSocket object.

◆ CreateSecureBBDSocket()

IBBDSocket BBDXamarinForms.Common.Interfaces.Networking.Sockets.IBBDSocketFactory.CreateSecureBBDSocket ( string  url,
int  port,
int  bufferSize 
)

Creates secure BBD socket.

Parameters
urlString containing the address of the server. Can be either an Internet Protocol address (IP address, for example "192.168.1.10"), or a fully qualified domain name (for example "www.example.com").
portNumber of the server port to which the socket will connect.
bufferSizeThe size of buffer into which the data is read.
Returns
Secure IBBDSocket object.