private ProcessAttachmentStatus ( TAttachmentStatus status ) : void | ||
status | TAttachmentStatus | |
return | void |
private void ProcessAttachmentStatus(TAttachmentStatus status)
{
if (status == TAttachmentStatus.apiAttachSuccess)
{
_attached = true;
RaiseAttachedEvent();
ProcessMissedMessages();
}
else if (Closing(status))
{
RaiseQuitEvent();
}
}