예제 #1
0
 public void Send(uint id, byte messageCode, byte[] bytes)
 {
     connection.SendBytes(Relay.Message(id, messageCode, bytes));
 }
예제 #2
0
 public void Send <T>(uint id, T header, string content) where T : struct, IConvertible
 {
     connection.Send(Relay.Message(id, header.ToString(), content));
 }
예제 #3
0
 public void Send(uint id, string header, string content)
 {
     connection.Send(Relay.Message(id, header, content));
 }
예제 #4
0
 public void Send(uint id, string header)
 {
     connection.Send(Relay.Message(id, header, ""));
 }