Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.network.RemoteDistributor Class Reference
Inheritance diagram for micropolisj.network.RemoteDistributor:
Collaboration diagram for micropolisj.network.RemoteDistributor:

Public Member Functions

synchronized MapInfo getLatestMap () throws RemoteException
synchronized void setMapInfo (MapInfo mI)
synchronized void storeInput (int playerID, PlayerInput input) throws RemoteException
synchronized Map< PlayerInput,
Integer > 
getInput ()
void setRemoteClient (RemoteClient client) throws RemoteException
void clearInput ()
byte[] getLevel () throws RemoteException
int getNewID () throws RemoteException
synchronized PlayerInfo getPlayerInfo (int ID) throws RemoteException

Protected Member Functions

 RemoteDistributor (ServerMicropolis micropolis) throws RemoteException

Private Attributes

transient ServerMicropolis micropolis
MapInfo mapInfo
Map< PlayerInput, Integer > events
String levelName

Static Private Attributes

static int playerCount = 1

Detailed Description

zentrale zugriffsklasse auf serverseite. bekommt von aussen mapobjekt reingereicht.

Author
nikolaibobenko

Definition at line 19 of file RemoteDistributor.java.

Constructor & Destructor Documentation

micropolisj.network.RemoteDistributor.RemoteDistributor ( ServerMicropolis  micropolis) throws RemoteException
protected

Member Function Documentation

void micropolisj.network.RemoteDistributor.clearInput ( )
synchronized Map<PlayerInput, Integer> micropolisj.network.RemoteDistributor.getInput ( )
synchronized MapInfo micropolisj.network.RemoteDistributor.getLatestMap ( ) throws RemoteException
byte [] micropolisj.network.RemoteDistributor.getLevel ( ) throws RemoteException

Implements micropolisj.network.IMicropolisServer.

Definition at line 68 of file RemoteDistributor.java.

int micropolisj.network.RemoteDistributor.getNewID ( ) throws RemoteException
synchronized PlayerInfo micropolisj.network.RemoteDistributor.getPlayerInfo ( int  ID) throws RemoteException
synchronized void micropolisj.network.RemoteDistributor.setMapInfo ( MapInfo  mI)
void micropolisj.network.RemoteDistributor.setRemoteClient ( RemoteClient  client) throws RemoteException

Implements micropolisj.network.IMicropolisServer.

Definition at line 59 of file RemoteDistributor.java.

synchronized void micropolisj.network.RemoteDistributor.storeInput ( int  playerID,
PlayerInput  input 
) throws RemoteException

Member Data Documentation

String micropolisj.network.RemoteDistributor.levelName
private

Definition at line 26 of file RemoteDistributor.java.

MapInfo micropolisj.network.RemoteDistributor.mapInfo
private
int micropolisj.network.RemoteDistributor.playerCount = 1
staticprivate

The documentation for this class was generated from the following file: