Exemplo n.º 1
0
        public MobileMulticastClient(MobileNetworkSettings settings)
        {
            _settings = settings;

            _udpClient = new UdpSocketMulticastClient {TTL = settings.TTL};
            _udpClient.MessageReceived = OnMessageReceived;
        }
Exemplo n.º 2
0
 public MobileTcpListener(MobileNetworkSettings settings, UsersService userService)
 {
     _settings = settings;
     _listener = new TcpSocketListener ();
     _userService = userService;
     _listener.ConnectionReceived = OnConnectionReceived;
 }
Exemplo n.º 3
0
        public MobileSession(MobileNetworkSettings settings)
        {
            _settings = settings;

            _user = new User
            {
                Id = Guid.NewGuid().ToString(),
                Title = "staff"
            };
            playlist = new ObservableCollection<PlaylistEntry> ();
        }
Exemplo n.º 4
0
 public MobileNetworkClientFactory(MobileNetworkSettings networkSettings, UsersService usersService)
 {
     _networkSettings = networkSettings;
     _usersService = usersService;
 }