Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.guistate.GuiStateListener Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.guistate.GuiStateListener:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.guistate.GuiStateListener:
Collaboration graph

Public Member Functions

void connected ()
 
void connectFailed (@NotNull String reason)
 
void connecting (@NotNull ClientSocketState clientSocketState, @NotNull String param)
 
void connecting (@NotNull String serverInfo)
 
void metaserver ()
 
void preConnecting (@NotNull String serverInfo)
 
void start ()
 

Detailed Description

Interface for listeners interested gui state changes.

Author
Andreas Kirschbaum

Definition at line 32 of file GuiStateListener.java.

Member Function Documentation

◆ connected()

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.connected ( )

The connection has been established.

◆ connectFailed()

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.connectFailed ( @NotNull String  reason)

A connection attempt failed.

Parameters
reasonthe failure reason

◆ connecting() [1/2]

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.connecting ( @NotNull ClientSocketState  clientSocketState,
@NotNull String  param 
)

Connection establishment is in progress.

Parameters
clientSocketStatethe client socket state
paramadditional information; currently only used in state ClientSocketState#REQUESTINFO

◆ connecting() [2/2]

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.connecting ( @NotNull String  serverInfo)

Connection establishment is in progress.

Parameters
serverInfothe server connecting to

◆ metaserver()

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.metaserver ( )

The server selection screen is displayed.

◆ preConnecting()

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.preConnecting ( @NotNull String  serverInfo)

Connection establishment is in progress. This function will be called before connecting(String).

Parameters
serverInfothe server connecting to

◆ start()

void com.realtime.crossfire.jxclient.guistate.GuiStateListener.start ( )

The start screen is displayed.


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