예제 #1
0
 public static void Send(string msgId, object obj, Ascender.NetPeer peer, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, obj, peer, qosType);
 }
예제 #2
0
 public static void Send(string msgId, object obj, SocketConnection conn, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, obj, conn.ConnectionInfo.Peer, qosType);
 }
예제 #3
0
 public static void Send(string msgId, byte[] bytes, long peerId, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, bytes, Core.SockInt.GetPeer(peerId), qosType);
 }
예제 #4
0
 public static void Send(string msgId, byte[] bytes, Connection conn, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, bytes, conn.SockConn.ConnectionInfo.Peer, qosType);
 }
예제 #5
0
 public static void Send(string msgId, byte[] bytes, int connIdIndex, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, bytes, Core.SockInt.GetPeerIndex(connIdIndex), qosType);
 }