CIRCDCCState.getAccept Member

Syntax

object.getAccept();

Returns

Remarks

See Also

Source Code

function dccstate_getAccept()
{
if ((this.state != DCC_STATE_REQUESTED) || (this.dir != DCC_DIR_SENDING))
throw "Must be in REQUESTED state and direction SEND.";
clearTimeout(this.requestTimeout);
delete this.requestTimeout;
this.state = DCC_STATE_ACCEPTED;
this.accepted = new Date();
this.eventPump.addEvent(new CEvent(this.eventType, "accept",
this.owner, "onAccept"));
}