org.openbandy.net
Interface ServerProtocol

All Known Implementing Classes:
PingPongProtocol, RemoteStoreProtocol

public interface ServerProtocol

TODO describe purpose and usage

(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.

Version:
0.1
Author:
Philipp Bolliger (philipp@bolliger.name)

Field Summary
static int PING_PONG_MESSAGE
           
static int PORT_PING_PONG
           
static int PORT_REMOTE_STORE
           
static int REMOTE_STORE_MESSAGE
           
 
Method Summary
 int getPort()
           
 boolean isValidMessage(Message message)
          This method will test the message for validity according to its implementation.
 

Field Detail

PORT_PING_PONG

static final int PORT_PING_PONG
See Also:
Constant Field Values

PORT_REMOTE_STORE

static final int PORT_REMOTE_STORE
See Also:
Constant Field Values

PING_PONG_MESSAGE

static final int PING_PONG_MESSAGE
See Also:
Constant Field Values

REMOTE_STORE_MESSAGE

static final int REMOTE_STORE_MESSAGE
See Also:
Constant Field Values
Method Detail

isValidMessage

boolean isValidMessage(Message message)
This method will test the message for validity according to its implementation.

Parameters:
message -
Returns:

getPort

int getPort()
Returns:
The port number of the service.