Beispiel #1
0
        public override IMessage SendCast(object message)
        {
            ProtoMessageAdapter adapter = new ProtoMessageAdapter();

            adapter.Message = message;
            return(adapter);
        }
Beispiel #2
0
        protected override IMessage GetMessage(IDataReader reader)
        {
            ProtoMessageAdapter adapter = new ProtoMessageAdapter();

            return(adapter);
        }
Beispiel #3
0
        public override object ReceiveCast(IMessage msg)
        {
            ProtoMessageAdapter adapter = (ProtoMessageAdapter)msg;

            return(adapter.Message);
        }
Beispiel #4
0
 protected override IMessage GetMessage(IDataReader reader)
 {
     ProtoMessageAdapter adapter = new ProtoMessageAdapter();
     return adapter;
 }
Beispiel #5
0
 public override IMessage SendCast(object message)
 {
     ProtoMessageAdapter adapter = new ProtoMessageAdapter();
     adapter.Message = message;
     return adapter;
 }