Class UnifiedService
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steamunifiedmessages.UnifiedService
-
- Direct Known Subclasses:
Authentication,AuthenticationSupport,Chat,ChatRoom,ChatRoomClient,ChatUsability,ChatUsabilityClient,ClanChatRooms,CloudGaming,ContentServerDirectory,FriendMessages,FriendMessagesClient,Parental,ParentalClient,Player,PlayerClient,RemoteClient,RemoteClientSteamClient,TwoFactor
public abstract class UnifiedService extends java.lang.Object- Since:
- 2023-01-04
-
-
Constructor Summary
Constructors Constructor Description UnifiedService(SteamUnifiedMessages steamUnifiedMessages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()static java.lang.StringgetMethodName()Gets the calling method name.JobIDsendMessage(com.google.protobuf.GeneratedMessageV3 message)Sends a message.voidsendNotification(com.google.protobuf.GeneratedMessageV3 message)Sends a notification.
-
-
-
Constructor Detail
-
UnifiedService
public UnifiedService(SteamUnifiedMessages steamUnifiedMessages)
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
-
getMethodName
public static java.lang.String getMethodName()
Gets the calling method name. ie: GetGameBadgeLevels()...- Returns:
- The calling method name.
-
sendMessage
public JobID sendMessage(com.google.protobuf.GeneratedMessageV3 message)
Sends a message.Results are returned in a
ServiceMethodResponse.- Parameters:
message- The message to send.- Returns:
- The JobID of the message. This can be used to find the appropriate
ServiceMethodResponse.
-
sendNotification
public void sendNotification(com.google.protobuf.GeneratedMessageV3 message)
Sends a notification.- Parameters:
message- The message to send.
-
-