Move Java chat sample to samples package (#2974)
This commit is contained in:
parent
6ba5e87b45
commit
f88b7ce044
|
|
@ -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": ""
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
Loading…
Reference in New Issue