CIRCDCCState.getRequest Member

Syntax

object.getRequest();

Returns

Remarks

See Also

Source Code

function dccstate_getRequest()
{
if (this.state != DCC_STATE_INIT)
throw "Must be in INIT state.";
this.state = DCC_STATE_REQUESTED;
this.dir = DCC_DIR_GETTING;
this.requested = new Date();
this.parent.last = this.owner;
this.parent.lastTime = new Date();
this.requestTimeout = setTimeout(function (o){ o.abort(); },
this.parent.requestTimeout, this.owner);
this.eventPump.addEvent(new CEvent(this.eventType, "request",
this.owner, "onRequest"));
}