private void HandleDisassociated(DisassociateInfo info)
{
switch (info)
{
case DisassociateInfo.Quarantined:
throw new InvalidAssociation(LocalAddress, RemoteAddress, new InvalidAssociationException("The remote system has quarantined this system. No further associations " +
"to the remote system are possible until this system is restarted."), DisassociateInfo.Quarantined);
case DisassociateInfo.Shutdown:
throw new ShutDownAssociation(LocalAddress, RemoteAddress, new InvalidAssociationException("The remote system terminated the association because it is shutting down."));
case DisassociateInfo.Unknown:
default:
Context.Stop(Self);
break;
}
}