use of jakarta.websocket.Endpoint in project tomcat by apache.
the class TestWsWebSocketContainerGetOpenSessions method testClientAClientAPojoAProgA.
@Test
public void testClientAClientAPojoAProgA() throws Exception {
Endpoint client1 = new ClientEndpointA();
Endpoint client2 = new ClientEndpointA();
doTest(client1, client2, "/pojoA", "/progA", 2, 2, 2, 2);
}
use of jakarta.websocket.Endpoint in project tomcat by apache.
the class TestWsWebSocketContainerGetOpenSessions method testClientAClientBPojoAProgA.
@Test
public void testClientAClientBPojoAProgA() throws Exception {
Endpoint client1 = new ClientEndpointA();
Endpoint client2 = new ClientEndpointB();
doTest(client1, client2, "/pojoA", "/progA", 2, 2, 2, 2);
}
use of jakarta.websocket.Endpoint in project tomcat by apache.
the class TestWsWebSocketContainerGetOpenSessions method testClientAClientBProgAProgA.
@Test
public void testClientAClientBProgAProgA() throws Exception {
Endpoint client1 = new ClientEndpointA();
Endpoint client2 = new ClientEndpointB();
doTest(client1, client2, "/progA", "/progA", 2, 2, 4, 4);
}
use of jakarta.websocket.Endpoint in project tomcat by apache.
the class TestWsWebSocketContainerGetOpenSessions method testClientAClientAPojoAProgB.
@Test
public void testClientAClientAPojoAProgB() throws Exception {
Endpoint client1 = new ClientEndpointA();
Endpoint client2 = new ClientEndpointA();
doTest(client1, client2, "/pojoA", "/progB", 2, 2, 2, 2);
}
use of jakarta.websocket.Endpoint in project tomcat by apache.
the class TestWsWebSocketContainerGetOpenSessions method testClientAClientAPojoAPojoA.
@Test
public void testClientAClientAPojoAPojoA() throws Exception {
Endpoint client1 = new ClientEndpointA();
Endpoint client2 = new ClientEndpointA();
doTest(client1, client2, "/pojoA", "/pojoA", 2, 2, 4, 4);
}
Aggregations