Esempio n. 1
0
 public static void Send(string msgId, object obj, Ascender.NetPeer peer, Ascender.SendOptions qosType)
 {
     VerifyIsRunning();
     Core.SockInt.Send(msgId, obj, peer, qosType);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }