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