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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则