You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
762 B

namespace ET
{
public interface IMessage
{
}
public interface IRequest: IMessage
{
int RpcId
{
get;
set;
}
}
public interface IResponse: IMessage
{
int Error
{
get;
set;
}
string Message
{
get;
set;
}
int RpcId
{
get;
set;
}
}
public class ErrorResponse: IResponse
{
public int Error
{
get;
set;
}
public string Message
{
get;
set;
}
public int RpcId
{
get;
set;
}
}
}