It is currently 26 May 2020, 08:53
Text Size

Need info about client-server communication

by BetaSteward

Moderators: TheElk801, BetaSteward, LevelX, North, noxx, JayDi, jeffwadsworth, CCGHQ Admins

Need info about client-server communication

Postby Fedora » 03 Feb 2020, 22:36

Hello there!
I'm trying to develop a client for the Xmage server (because I want to test some things and I need a MTG Engine).
I've been reading the Wiki on Github and reading some of the code, but I couldn't find much documentation about how the client and the server communicates.

So far I have seen in Mage/src/main/java/mage/constants/ there is an enum for events, and in Mage. Common/src/main/java/mage/remote/ there is the code used to open a session via Sockets (and an option for HTTP, I believe?)

I would appreciate if someone pointed me at some documentation about this, or gave me an idea about where to start looking at to try to comprehend this. I'm not a Java programmer nor an native english speaker, so pardon me in advance.

Thanks! :)
Posts: 1
Joined: 03 Feb 2020, 22:22
Has thanked: 0 time
Been thanked: 0 time

Re: Need info about client-server communication

Postby JayDi » 09 Feb 2020, 11:39

Xmage uses jboss remoting library (version 2). It's socket communication with binary objects transfer (java binary serialization). Search github issues by "graphql" for more related topics and links.
User avatar
Posts: 268
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 36 times

Return to XMage

Who is online

Users browsing this forum: Bing [Bot] and 10 guests

Who is online

In total there are 11 users online :: 1 registered, 0 hidden and 10 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: Bing [Bot] and 10 guests

Login Form