libSnp enums - fullphat/snarl_network_protocol GitHub Wiki
Defines the various commands that can be issued as part of a SNP31Request
.
public enum Commands
{
Null,
Invalid,
Notify,
Register,
Forward,
Subscribe,
Unsubscribe
}
Indicates where in the connection establishment sequence we are.
public enum ConnectionStatus
{
ResolvingHost,
HostResolved,
Connecting,
Connected,
Sending,
Sent,
WaitingForReply,
ReplyReceived,
}
Defines the hashing algorithms that can be used.
public enum HashTypes
{
Invalid,
None,
MD5,
SHA1,
SHA256,
SHA512,
}
Standard priorities that NOTIFY and FORWARD requests can use.
public enum Priority : int
{
Informational = -2,
Low = -1,
Normal = 0,
High = 1,
Important = 2
}
Identifies what type of response a particular SNP31Response
represents.
public enum ResponseTypes
{
Null,
Invalid,
Success,
Failed,
Callback,
Goodbye
}
Standard Snarl status codes.