CIRCDCCState.failed Member
Syntax
object.failed();
Returns
Remarks
See Also
Source Code
function dccstate_failed()
{
if ((this.state != DCC_STATE_REQUESTED) &&
(this.state != DCC_STATE_ACCEPTED) &&
(this.state != DCC_STATE_CONNECTED))
{
throw "Can't fail at this point.";
}
this.state = DCC_STATE_FAILED;
this.eventPump.addEvent(new CEvent(this.eventType, "fail",
this.owner, "onFail"));
}