Menu
Home
Categories
Audio & Multimedia
Audio Encoders/Decoders
Audio File Players
Audio File Recorders
CD Burners
CD Players
Multimedia Creation Tools
Music Composers
Music Management
Other
Presentation Tools
Rippers & Converters
Speech
Utilities & Plug-Ins
Video Tools
Virtual Instruments
Business
Accounting & Finance
Applications
Calculators & Converters
Databases & Tools
Helpdesk & Remote PC
Inventory & Barcoding
Investment Tools
Legal
Math & Scientific Tools
Office Suites & Tools
Other
PIMS & Calendars
Presentation Tools
Project Management
Spreadsheets
Vertical Market Apps
Word Processing
CRM & Marketing
Human Resources
Communications
Chat & Instant Messaging
Dial Up & Connection Tools
E-Mail Clients
E-Mail List Management
Fax Tools
Newsgroup Clients
Other Comms Tools
Other E-Mail Tools
Pager Tools
Telephony
Web/Video Cams
Webinars & Video Conferencing
Desktop
Clocks & Alarms
Cursors & Fonts
Icons
Other
Screen Savers
Art
Cartoons
Nature
Other
People
Science
Seasonal
Vehicles
Shell & Desktop Management
Themes & Wallpaper
Development
Active X
Basic, VB, VB DotNet
C / C++ / C#
Compilers & Interpreters
Components & Libraries
Databases & Networks
Debugging
Delphi
Help Tools
IDEs & Coding Utilities
Install & Setup
Java
Management & Distribution
Other
Source Code
Source Editors
Mobile App Builders
AI App Builders
Education
Computer
Dictionaries
E-books & Literature
Geography
Kids
Languages
Mathematics
Other
Reference Tools
Science
Teaching & Training Tools
Games & Entertainment
Action
Adventure & Roleplay
Arcade
Board
Card
Casino & Gambling
Kids
Online Gaming
Other
Puzzle & Word Games
Simulation
Sports
Strategy & War Games
Tools & Editors
Graphic Apps
Animation Tools
CAD
Converters & Optimizers
Editors
Font Tools
Gallery & Cataloging Tools
Icon Tools
Other
Screen Capture
Viewers
Home & Hobby
Astrology/Biorhythms
Astronomy
Calendars & Planners
Cataloging
Food & Drink
Genealogy
Health & Nutrition
Home Inventory
Other
Personal Finance
Personal Interest
Recreation
Religion
Sports
Network & Internet
Ad Blockers
Browser Tools
Browsers
Download Managers
File Sharing/Peer to Peer
FTP Clients
Network Monitoring
Other
Remote Computing
Search/Lookup Tools
Terminal & Telnet Clients
Timers & Time Synch
Trace & Ping Tools
Social Media Tools
Cloud Storage
Security & Privacy
Access Control
Anti-Spam & Anti-Spy Tools
Anti-Virus Tools
Covert Surveillance
Encryption Tools
Other
Password Managers
VPN
Identity Protection
Servers
Firewall & Proxy Servers
FTP Servers
Mail Servers
News Servers
Other Server Applications
Telnet Servers
Web Servers
System Utilities
Automation Tools
Backup & Restore
Benchmarking
Clipboard Tools
File & Disk Management
File Compression
Launchers & Task Managers
Other
Printer
Registry Tools
Shell Tools
System Maintenance
Text/Document Editors
Web Development
ASP & PHP
E-Commerce
Flash Tools
HTML Tools
Java & JavaScript
Log Analysers
Other
Servers
Site Administration
Web Design Utilities
Wizards & Components
XML/CSS Tools
Miscellaneous
Other
Developer Login
Advanced Search
Contact Us
Realtime Chat Application with Delphi and SignalR Using Devart SecureBridge - CodeRage 2019
Realtime Chat Application with Delphi and SignalR Using Devart SecureBridge - CodeRage 2019
In this video, we'll create a simple real-time multi-platform chat application in RAD Studio using Devart SecureBridge component called TScHubConnection, which implements the functionality of a SignalR client.
** Learn More: http://www.devart.com
** CodeRage Live Tech Partner Q&A: https://youtu.be/8XlFljU2NTQ
** Full Tech Partner Playlist: https://embt.co/CodeRage2019Wk5
** https://embarcadero.com
Closed Caption:
in this video we'll create a simple
real-time multi-platform chat
application in rad studio using dev arts
secure bridge component called TS c hub
connection which implements the
functionality of a signal art client
signal R is a client-server
communication protocol then adds
real-time functionality to desktop and
web apps the server will be able to push
content to connected clients as soon as
it becomes available without waiting for
the client to request data signal our
client have been implemented in many
languages but the Delfy community lacked
such a library so we a dev art decided
to implement a signal art client in
secure bridge a security component
library for Delfy
besides secure bridge dev art offers a
wide range of software solutions such as
reliable Delfy data access components
for popular databases and cloud sources
and advanced Delfy o our M tool entity
DAC
for all conference attendees we offer a
20% off Delfy data access components
entity DAC or secure bridge purchase
to claim the offer enter the code rage
19 coupon code on the product ordering
page
let's start by creating a new multi
device application our form will have a
few panels one at the top and one at the
bottom we'll also add a team memo
component which is our main chat area
where messages are displayed now add a
teaspoon or component to the form which
will allow us to resize the panels at
runtime add a tea list box to display a
list of users to chat with
ad t label components for the user name
and message fields
a dati edit component that will contain
the name of the user that we're
currently chatting with
at 'edit component that will hold our
username at another t edit component
where we'll type our message
at a button that connects to the server
and a button for sending our message
place the TSC hub connection component
on the form
let's switch to the unit view and
declare public methods do message
receipt do user connected and do user
disconnected for receiving messages
establishing a connection and dropping
the connection to the server will also
declare private methods fill user
nameless fill message list connect
disconnect and is connected which are
explained further
ad system dot Jason to the uses clause
since we're going to use Jason to send
and receive messages from the server
implement the fill username list method
the parses a json array received from
the server and updates the list of
connected users in the T list box
component on the form
now let's write code for the fill list
method in parses a json array and
updates the list of messages in the t
memo component in the do user connected
event handler we invoke the fill user
nameless and fill message list methods
the do message recede eventhandler
displays new messages in the chat area
the do user disconnected event handler
invokes the fill username list method to
update the list of connected users when
we disconnect from the server
the connect method invokes the start
register and send methods of the TSE hub
connection component the start method
establishes a connection to the server
the register method registers a handler
that will be invoked when the hub method
with the specified method name is
invoked and the send method invokes a
hub method on the server using the
specified method name and arguments
the text property of the BT connect
button changes to disconnect after the
connection has been successfully
established
the disconnect method invokes the send
and stop methods of secure bridge the
stop method drops the connection to the
server the text value of the BT connect
button is changed to connect and the
username list is cleared
is conected method stores the state of
the connection to the server
implement the on destroy event handler
that drops an active connection to the
server before destroying the form when
we close our application
now let's implement the Beatty Connect
click event handler then is triggered
when we click the button
[Music]
whether the client is connected to the
server if the is connect function
returns true the client drops the
connection to the server by executing
the disconnect method in case of false
the event handler triggers the execution
of the connect method to establish a
connection to the server also it checks
whether we've specified our username in
the nickname field
[Music]
[Music]
finally assign the server address to the
URL property of the TSE hub connection
component on the form
now let's run a rap on various platforms
and see how it works secure bridge also
offers Delfy clients and servers for ssh
ssl HTTP HTTP WebSocket and other
protocols visit the dev art site for
more details on secure bridge and other
Delfy component libraries
[Music]
Video Length:
07:31
Uploaded By:
Embarcadero Technologies
Published:
1/8/2020
View Count:
9,302
Related Software Products
SecureBridge
by Devart
SSH, SFTP, TLS, FTPS and HTTPS components for Delphi and C++Builder
Related Videos
24:22
Easiest customizable HTTPS client from SecureBridge
Devart · Dec 27, 2018
1,622 views
Developer Login
|
Guides & Comparisons
|
Software Deals
|
About Us & How We Review
|
Forgot Password
|
Contact Us
|
Privacy Policy
|
Terms And Conditions
Copyright ©
2026
, Ivertech. All rights reserved.