Commit fe5298a5 authored by Thomas Lecluse's avatar Thomas Lecluse
Browse files

Merge branch 'feature/com/clientClasses' into 'int/v1'

Add client Communication messages

See merge request !11
parents 9bf6db87 4a754796
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a chat message to send to the server.
*/
public class ChatMessageToServerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a disconnection request to send to the server.
*/
public class DisconnectionRequestMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a game save request.
*/
public class GameSaveRequestMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing the answer to a join request.
*/
public class JoinRequestAnswerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a login request to send to the server.
*/
public class LoginUserToServerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a move to send to the server.
*/
public class MoveToSendToServerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing new game information.
*/
public class NewGameToServerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing player profile request to send to the server.
*/
public class PlayerProfileRequestMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.clientToServer;
import baleine.common.message.IMessageMeta;
/**
* Message containing a spectator to add to a game.
*/
public class SpectatorToAddServerMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a chat message to transfer to the data module to display
* it.
*/
public class ChatMessageToClientMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message notifying that a user has been disconnected.
*/
public class DisconnectedUserMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message notifying that the current game has ended.
*/
public class EndGameSignalToClientMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a game save.
*/
public class GameSaveMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a join request.
*/
public class JoinRequestMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a move to transfer to the data module.
*/
public class MoveToForwardToClientMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message notifying that a new game has been created.
*/
public class NewGameNotificationToClientMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message notifying that a new user has been added to the game.
*/
public class NewUserAddedMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a player profile received by the client.
*/
public class PlayerProfileReceivedMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.client.network.messages.serverToClient;
import baleine.common.message.IMessageMeta;
/**
* Message containing a spectator to add to the game.
*/
public class SpectatorToAddClientMessage implements IMessageMeta {
@Override
public void processData() {
}
}
package baleine.common.message;
/**
* Interface to implement by all types of messages exchanged in the Communication module.
*/
public interface IMessageMeta {
/**
* Process the data relative to the message.
*/
public void processData();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment