Move Java chat sample to samples package (#2974)

This commit is contained in:
Mikael Mengistu 2018-09-20 10:33:16 -07:00 committed by GitHub
parent 6ba5e87b45
commit f88b7ce044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

2
.vscode/launch.json vendored
View File

@ -8,7 +8,7 @@
"cwd": "${workspaceFolder}/clients/java/",
"console": "externalTerminal",
"stopOnEntry": false,
"mainClass": "com.microsoft.aspnet.signalr.Chat",
"mainClass": "com.microsoft.aspnet.signalr.sample.Chat",
"args": ""
},
{

View File

@ -1,10 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
package com.microsoft.aspnet.signalr;
package com.microsoft.aspnet.signalr.sample;
import java.util.Scanner;
import com.microsoft.aspnet.signalr.HubConnection;
import com.microsoft.aspnet.signalr.HubConnectionBuilder;
import com.microsoft.aspnet.signalr.LogLevel;
public class Chat {
public static void main(String[] args) throws Exception {
System.out.println("Enter the URL of the SignalR Chat you want to join");