How to send messages with GameLift Client in Java

0

The GameLift Reference guide shows information on actions available using the C# SDK. It shows methods for "NewMessage" and "SendMessage". I am building my client with Java, and I can't seem to find any equivalent function in Java to send a message to the Server from the Client. Does anyone know what the equivalent methods in Java are for sending messages to a RealTime server? Thank you. https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-sdk-csharp-ref-actions.html

질문됨 2년 전221회 조회
1개 답변
0

Hello, I think you are referring to the AWS SDK for Java, that is not only for GameLift, but for the majority of AWS services that are actionable with an API call see it here. With the SDK you might access different actions of the GameLift service management, like session placement and other. But the other SDK you are referring, the real time client API is meant for Unity (C#) and there is no other option at the moment for that particular SDK in any other programming language

AWS
답변함 2년 전
  • Hi. I am familiar with the SDK and have found ways of using Java to create Game and Player Sessions. Once the Player Session is created I do not understand how I can interact with it or communicate to it. There is a reference to example Server logic here: https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-script.html

    What APIs in the Java SDK are used to communicate with that script? There must be some way to communicate to an AWS GameLift server script using Java.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠