public ConnectionInfo( string protocol_name, ConnectionType type, ConnectionStatus status, string remote_name, IPEndPoint remote_endpoint, RemoteHostStatus remote_host_status, Guid?remote_session_id, long?content_position, float?recv_rate, float?send_rate, int?local_relays, int?local_directs, string agent_name) { ProtocolName = protocol_name; Type = type; Status = status; RemoteName = remote_name; RemoteEndPoint = remote_endpoint; RemoteHostStatus = remote_host_status; RemoteSessionID = remote_session_id; ContentPosition = content_position; RecvRate = recv_rate; SendRate = send_rate; LocalRelays = local_relays; LocalDirects = local_directs; AgentName = agent_name; }
public PCPSourceConnection( PeerCast peercast, Channel channel, Uri source_uri, RemoteHostStatus remote_type) : base(peercast, channel, source_uri) { remoteType = remote_type; }
public PCPSourceConnection( PeerCast peercast, Channel channel, Uri source_uri, RemoteHostStatus remote_type) : base(peercast, channel, source_uri) { remoteType = remote_type; contentSink = new AsynchronousContentSink(new ChannelContentSink(channel, true)); }
public ConnectionInfo( string protocol_name, ConnectionType type, ConnectionStatus status, string remote_name, IPEndPoint remote_endpoint, RemoteHostStatus remote_host_status, long? content_position, float? recv_rate, float? send_rate, int? local_relays, int? local_directs, string agent_name) { ProtocolName = protocol_name; Type = type; Status = status; RemoteName = remote_name; RemoteEndPoint = remote_endpoint; RemoteHostStatus = remote_host_status; ContentPosition = content_position; RecvRate = recv_rate; SendRate = send_rate; LocalRelays = local_relays; LocalDirects = local_directs; AgentName = agent_name; }