Kameloso.TransientState

Transient state variables, aggregated in a struct.

Members

Variables

askedToReconnect
bool askedToReconnect;

Set when the server asked us to reconnect (by way of a RECONNECT event).

askedToReexec
bool askedToReexec;

Set when the user explicitly asked to re-exec in the middle of a session.

numReexecs
uint numReexecs;

How many times the program has reexecuted itself.

pongline
string pongline;

Cached PONG string to send to the server, so we don't have to concatenate a new one each time.

quitMessageSent
bool quitMessageSent;

Set when we have sent a QUIT message to the server.

sawWelcome
bool sawWelcome;

Set when an RPL_WELCOME event was encountered.

wantLiveSummary
bool wantLiveSummary;

When this is set, the main loop should print a connection summary upon the next iteration.

wantReceiveTimeoutShortened
bool wantReceiveTimeoutShortened;

Set when the Socket read timeout was requested to be shortened.