apps.mtdesktop.desktop
Class DesktopClient

java.lang.Object
  extended by com.jmex.game.state.GameState
      extended by synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
          extended by synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
              extended by apps.mtdesktop.desktop.DesktopClient

public class DesktopClient
extends DefaultSynergyNetApp

The Class DesktopClient.


Nested Class Summary
static class DesktopClient.ConnectionStatus
          The Enum ConnectionStatus.
static interface DesktopClient.mtdesktopNetworkListener
          The listener interface for receiving mtdesktopNetwork events.
static class DesktopClient.Position
          The Enum Position.
 
Field Summary
static DesktopClient.Position currentPosition
          The current position.
static java.lang.String File_SERVER_URL
          The File_ serve r_ url.
static TableIdentity tableId
          The table id.
 
Constructor Summary
DesktopClient(ApplicationInfo info)
          Instantiates a new desktop client.
 
Method Summary
 void addContent()
          Adds the content.
 void addNetworkListener(DesktopClient.mtdesktopNetworkListener listener)
          Adds the network listener.
static void main(java.lang.String[] args)
          The main method.
 void onActivate()
          On activate.
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.DefaultSynergyNetApp
init
 
Methods inherited from class synergynetframework.appsystem.table.appdefinitions.SynergyNetApp
cleanup, exitApp, getActivationCount, getApplicationDataDirectory, getInfo, getMenuController, getOrthoNode, getOrthoRenderPass, getRootNode, getWorldNode, getWorldRenderPass, render, renderDebug, setActivationCount, setActive, setMenuController, setOrthoRenderPass, setRootNode, setWorldRenderPass, update
 
Methods inherited from class com.jmex.game.state.GameState
getName, getParent, isActive, setName, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentPosition

public static DesktopClient.Position currentPosition
The current position.


File_SERVER_URL

public static java.lang.String File_SERVER_URL
The File_ serve r_ url.


tableId

public static TableIdentity tableId
The table id.

Constructor Detail

DesktopClient

public DesktopClient(ApplicationInfo info)
Instantiates a new desktop client.

Parameters:
info - the info
Method Detail

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments

addContent

public void addContent()
Description copied from class: SynergyNetApp
Adds the content.

Specified by:
addContent in class SynergyNetApp

addNetworkListener

public void addNetworkListener(DesktopClient.mtdesktopNetworkListener listener)
Adds the network listener.

Parameters:
listener - the listener

onActivate

public void onActivate()
Description copied from class: SynergyNetApp
On activate.

Overrides:
onActivate in class SynergyNetApp