|
MessengerYouLike.IMSDK.IMServer
|
|
Server class that acts as a server for IMClient
public MustInherit class IMServer;
Public MustInherit Class IMServer
This is Base Class for IMServer This Class Must be Inherited and provide implementation details of these functions
IMSDK.IMServer.NewUserRegistration
These functions will only be called when the IMServer is Integrated into any other existing system and the property IMSDK.IMServer.Integrated is set to true
IMServer Can be Integrated into any existing systems which are using these databases
'[Visual Basic]
Partial Class MessengerYouLike_Web
Inherits System.Web.UI.Page
Protected WithEvents MessengerYouLike_Server1 As New ClsIM
' " Web Form Designer Generated Code "
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
MessengerYouLike_Server1.ConnectionString = "server=ServerLocation;database=DBName;uid=Username;pwd=password"
MessengerYouLike_Server1.DatabaseType = MessengerYouLike.IMSDK.IMServer.DatabaseProviders.MSSQL
MessengerYouLike_Server1.SecertKey = "abcdef"
MessengerYouLike_Server1.Integrated = False
If Request.Form.ToString <> "" Then
MessengerYouLike_Server1.PassData(Request.Form.ToString())
End If
Catch ex As Exception
Response.Write(ex)
End Try
End Sub
Private Sub MessengerYouLike_Server1_OnError(ByVal data As String) Handles MessengerYouLike_Server1.OnError
Response.Write(data)
End Sub
Protected Sub MessengerYouLike_Server1_OnLogOut(ByVal Username As String) Handles MessengerYouLike_Server1.OnLogOut
Response.Write(Username)
End Sub
End Class
Public Class ClsIM
Inherits MessengerYouLike.IMSDK.IMServer
Public Overrides Function NewUserRegistration(ByVal Username As String, ByVal Password As String, ByVal Email As String, ByVal Firstname As String, ByVal Lastname As String) As Boolean
'Your Implemention details
End Function
Public Overrides Function VerifyLogin(ByVal Username As String, ByVal password As String) As Integer
'Your Implemention details
End Function
End Class|
|
Name |
Description |
|
Database Enumerators , these database systems are supported by IMServer. |
|
|
Name |
Description |
|
Administrators can Block any user. | |
|
Administrators can unblock any user. | |
![]() |
Register a new Account ,For Integration prepose Only. | |
|
Pass data to IMServer via this method. | |
|
Send any Command to Online IMClient. | |
![]() |
Verify login ,For Integration prepose Only. |
|
|
Name |
Description |
|
Used to Specify the column name that holds email address of a user,Only used when system is integrated. | |
|
Used to Specify the column name that holds first name of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds ID of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds last name of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds Nick of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds passwords of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds usernames of a user, Only used when system is integrated. | |
|
Set the ConnectionString property for any IMSDK.IMServer.DatabaseProviders | |
|
Set the database property to any IMSDK.IMServer.DatabaseProviders | |
|
This is Debug, a member of class IMServer. | |
|
Set this to true if IMServer is integrated into any other system. | |
|
Secret Key to Encrypt and Decrypt. | |
|
Used to Specify the Table name that holds Friends/Contacts for all users, Only used when system is integrated. | |
|
Used to Specify the Table name that holds Groups for all users, Only used when system is integrated. | |
|
Used to Specify the Table name that holds offline messages, Only used when system is integrated. | |
|
Used to Specify the Table name that holds the Users information, Only used when system is integrated. |
|
|
Name |
Description |
|
Database Enumerators , these database systems are supported by IMServer. |
|
|
Name |
Description |
|
Administrators can Block any user. | |
|
Administrators can unblock any user. | |
![]() |
Register a new Account ,For Integration prepose Only. | |
|
Pass data to IMServer via this method. | |
|
Send any Command to Online IMClient. | |
![]() |
Verify login ,For Integration prepose Only. |
|
|
Name |
Description |
|
Used to Specify the column name that holds email address of a user,Only used when system is integrated. | |
|
Used to Specify the column name that holds first name of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds ID of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds last name of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds Nick of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds passwords of a user, Only used when system is integrated. | |
|
Used to Specify the column name that holds usernames of a user, Only used when system is integrated. | |
|
Set the ConnectionString property for any IMSDK.IMServer.DatabaseProviders | |
|
Set the database property to any IMSDK.IMServer.DatabaseProviders | |
|
This is Debug, a member of class IMServer. | |
|
Set this to true if IMServer is integrated into any other system. | |
|
Secret Key to Encrypt and Decrypt. | |
|
Used to Specify the Table name that holds Friends/Contacts for all users, Only used when system is integrated. | |
|
Used to Specify the Table name that holds Groups for all users, Only used when system is integrated. | |
|
Used to Specify the Table name that holds offline messages, Only used when system is integrated. | |
|
Used to Specify the Table name that holds the Users information, Only used when system is integrated. |