Akka.Remote.Transport.AkkaPduProtobuffCodec.ConstructDisassociate C# (CSharp) Method

ConstructDisassociate() public method

public ConstructDisassociate ( DisassociateInfo reason ) : ByteString
reason DisassociateInfo
return ByteString
        public override ByteString ConstructDisassociate(DisassociateInfo reason)
        {
            switch (reason)
            {
                case DisassociateInfo.Quarantined:
                    return DISASSOCIATE_QUARANTINED;
                case DisassociateInfo.Shutdown:
                    return DISASSOCIATE_SHUTTING_DOWN;
                case DisassociateInfo.Unknown:
                default:
                    return DISASSOCIATE;
            }
        }