New Version is Ready  

PokeIn v2.021! is ready for action!
Click here to read changelog & download
the latest library.

 

FREE Community Edition  

Free, feature rich community edition available!
Visit editions page to see the details of our free community version..

 

Any Question?  

Click here to visit our Frequently Asked Questions page or visit Discussions section to ask your own questions to the community and our professionals.

 

PokeIn client side methods and events  

bool PokeIn.IsConnected
            Indicates the status of connection. (Do not assign false to close the connection)

bool PokeIn.IsListenActive()
            Indicates the status of listener.

bool PokeIn.PageUnloading
            Indicates, whether the hosting page is unloading or not. You may check this parameter's value in order to decide for ReConnect call

event PokeIn.SessionCloneDetected

Fires when multiple views active on same browser.
To use this functionality, set PokeIn.Comet.CometSettings.MultiWindowsForSameSession parameter to true.

Sample:

PokeIn.SessionCloneDetected = function (clientId){

                //put your codes here

};


string PokeIn.GetClientId

Returns the active client id.

Sample:

var client_id = PokeIn.GetClientId();

 

string PokeIn.GetJointId

Returns the active joint id. Usable with the "Dynamic Bind" connections. "Joint Sample" project under samples page may helpful to understand the usage.

Sample:

var client_id = PokeIn.GetJointId();

 

event PokeIn.OnCompilerError (PokeIn version 1.30+)

Fires when a server side compilation error occurs.

Sample:

PokeIn.OnCompilerError = function (message){

                alert(message + “ received!”);

};


event PokeIn.OnClientObjectsRemoved (PokeIn version 1.30+)

Fires when the server side instance of this client removed due to;

·         Object corruption on server side class

·         Client is disconnected

·         Despite of Multiple view is disabled, another one opened on same window

Sample:

PokeIn.OnClientObjectsRemoved = function ( ){

                //put your codes here

};

 

void PokeIn.Close

Send “Disconnection” request to the server and closes the client connection.This method doesn't fire OnClose event, even though the client disconnected after the call.

Sample:

PokeIn.Close();

 

event PokeIn.OnClose

Fires when the active connection closed and server side instance of the active client removed.

Sample:

PokeIn.OnClose = function ( ){

                //put your codes here

};

 

event PokeIn.OnMessageReceived (PokeIn version 1.30+)

Fires when a new message received from the server.

Sample:

PokeIn.OnMessageReceived = function (message ){

                //put your codes here

};

 

event PokeIn.OnMessageExecuted (PokeIn version 1.30+)

Fires when a server side message successfully executed.

Sample:

PokeIn.OnMessageExecuted = function (){

                //put your codes here

};

 

event PokeIn.OnError

Fires when a client side compilation issue occurs.

Sample:

PokeIn.OnError = function (message){

                //put your codes here

};

 

void PokeIn.ReConnect

Reconnects a client to the server. (clientid will be changed and all the PokeIn event assignments will be removed)

A successful call to this method will raise document.OnPokeInReady event again.

Sample:

PokeIn.ReConnect();

 

event document.OnPokeInReady

Fires when PokeIn client side libraries entirely downloaded to the client browser.

Sample:

document.OnPokeInReady = function (){

                PokeIn.Start( function(is_started){

                                //put your codes here

                });

};

 

void PokeIn.Start

Sends a connection request to the server.

Sample:

PokeIn.Start(

function(is_started){

                                //put your codes here
                }
);

PokeIn Features  


ASP.NET Ajax development never been so easy ! .NET 2+, Mono 2.4+ Compatible!
  • Reverse Ajax & Server Push
  • Hybi00, Hybi10, RFC 6455 WebSockets Support
  • Intelligent Fail Recovery
  • Desktop Client Support
  • Base64 Message Encoding (both sides)
  • Clone Message Attack Protection
  • 8, 16, 32+ Core Support
  • Image & Video & Text Content Resource Manager
  • ASP.NET MVC Compatible
  • Mono Runtime Support
  • Session Cloning Detection
  • Thread Safe Object Managers
  • Secured Transfers
  • Client Disconnection Detection
  • Apache 2.2+, Nginx, IIS 5+Compatible
  • Sleep Mode and Cross Domain Listeners
  • Automated Object Level Joint Capabilities
  • Silverlight Support
  • Dynamic Connection Management
  • Complete .NET to JSON Serialization
  • Subscribe / Leave Channels
  • Event / Message Ordering
  • Multiple Server Support
  • Lightweight and cross-browser
    (IE, FireFox, Safari, Opera, Chrome, IOS, Android, ....)
  • Server CPU and Port usage friendly
  • WCF & .NET Remoting Support
  • v1.614+ handles ~80K concurrent connections
    (watch this video to see 11K result)
    You must !! Download & Install IIS Tuner on your server !!

Copyright 2012 Zondig

Privacy Statement|Terms Of Use