NetChat Communications Framework - PowerPoint PPT Presentation

About This Presentation
Title:

NetChat Communications Framework

Description:

Has corresponding modules written in Ruby. Multiplexes messages ... Ping/Pong. Module Messages. Specific to modules. Routed to correct module by client framework ... – PowerPoint PPT presentation

Number of Views:14
Avg rating:3.0/5.0
Slides: 12
Provided by: tjh5
Learn more at: https://www.tjhsst.edu
Category:

less

Transcript and Presenter's Notes

Title: NetChat Communications Framework


1
NetChat Communications Framework
  • Overview
  • March 27, 2007

2
Purpose
  • Modular communications protocol
  • XML representation of data
  • SSL encryption of traffic
  • Function-independent data encapsulation
  • Provide one application to serve many
    communications needs

3
NetChat Protocol (NCP)
  • The basic message
  • ltmessagegt
  • ltheadergt
  • ltproperties/gt
  • lt/headergt
  • ltcontentgt
  • ...
  • lt/contentgt
  • lt/messagegt

4
Server
  • Written in Ruby
  • MySQL backend
  • Has corresponding modules written in Ruby
  • Multiplexes messages
  • Will be able interconnect and route clients
    connections

5
Clients
  • J-Client
  • Written in Java
  • Graphical interface written with SWT/JFace
  • Main distribution client
  • Py-Client
  • Written in Python
  • Curses/text interface

6
Modules
  • Must be approved by server
  • Can be loaded and unloaded on the fly
  • Will implement a versioning system
  • Currently have login and chat modules

7
Modules, cont.
  • Module system allows anyone to create modules
    without having to mess with the framework.

8
Server Messages
  • Messages sent from the server to the client
    framework
  • Examples
  • Module request
  • Module authorization
  • Ping/Pong

9
Module Messages
  • Specific to modules
  • Routed to correct module by client framework
  • Strips header element
  • Module only receives the content XML tree

10
The Future
  • Improve on existing modules
  • Chat Add group chat and other chat protocols
  • Login Kerberos/TJ authentication
  • Create new modules
  • User web space
  • Mail
  • Add server interconnectivity

11
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com