CIRCDCCState Prototype

Keeps track of the state of a DCC connection.

Syntax

var object = new CIRCDCCState(parent, owner, eventType);

Arguments

ArgumentSummary
parent
owner
eventType

Remarks

Members

MemberSummary
failed
getAbort
getAccept
getDecline
getRequest
sendAbort
sendAccept
sendDecline
sendRequest
socketConnected The sockets connected.
socketDisconnected Someone disconnected something.

See Also

Source Code

function CIRCDCCState(parent, owner, eventType)
{
// parent == central CIRCDCC object.
// owner == DCC Chat or File object.
// eventType == "dcc-chat" or "dcc-file".
this.parent = parent;
this.owner = owner;
this.eventType = eventType;
this.eventPump = owner.eventPump;
this.state = DCC_STATE_INIT;
this.dir = DCC_DIR_UNKNOWN;
return this;
}