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

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

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