Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 public RemotingClient(NetConnection netConnection)
 {
     _netConnection = netConnection;
 }
Ejemplo n.º 4
0
 /// <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")
 {
 }