CIRCServer.onStreamClose Member
Syntax
object.onStreamClose(status);
Arguments
Argument | Summary |
---|---|
status |
Returns
Remarks
See Also
Source Code
function serv_sockdiscon(status)
{
var ev = new CEvent ("server", "disconnect", this, "onDisconnect");
ev.server = this;
ev.disconnectStatus = status;
if (ev.disconnectStatus == NS_ERROR_BINDING_ABORTED)
ev.disconnectStatus = NS_ERROR_ABORT;
this.parent.eventPump.addEvent (ev);
}