/// <summary> /// Connects to a remote shared object on the server through the specified connection. Use this method after /// issuing SharedObject.GetRemote(...). After a successful connection, the sync event is dispatched. /// </summary> /// <param name="connection">A NetConnection object (such as one used to communicate with Flash Media Server) that is using the Real-Time Messaging Protocol (RTMP).</param> public void Connect(NetConnection connection) { Connect(connection, null); }
/// <summary> /// Initializes a new instance of the <see cref="NetStream"/> class that can be used for playing video files through the specified NetConnection object. /// </summary> /// <param name="connection">A NetConnection object.</param> /// <param name="peerId">Not available.</param> public NetStream(NetConnection connection, string peerId) { ValidationUtils.ArgumentNotNull(connection, "connection"); _connection = connection; _client = this; }
public RemotingClient(NetConnection netConnection) { _netConnection = netConnection; }
/// <summary> /// Initializes a new instance of the <see cref="NetStream"/> class that can be used for playing video files through the specified NetConnection object. /// </summary> /// <param name="connection">A NetConnection object.</param> public NetStream(NetConnection connection) : this(connection, "connectToFMS") { }