CIRCDCCState.getDecline Member
Syntax
object.getDecline();
Returns
Remarks
See Also
Source Code
function dccstate_getDecline()
{
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_DECLINED;
this.declined = new Date();
this.eventPump.addEvent(new CEvent(this.eventType, "decline",
this.owner, "onDecline"));
}