Package org.astrogrid.samp.gui
Class PopupResultHandler.ClientHandler
- java.lang.Object
-
- org.astrogrid.samp.gui.PopupResultHandler.ClientHandler
-
- Enclosing class:
- PopupResultHandler
private class PopupResultHandler.ClientHandler extends java.lang.Object
Handles per-client state for message wait/response information.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JLabel
nameLabel_
(package private) Response
response_
(package private) javax.swing.Action
responseDetailAction_
(package private) javax.swing.JLabel
statusLabel_
-
Constructor Summary
Constructors Constructor Description ClientHandler(Client client)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
result(Response response)
Updates status according to a received response.
-
-
-
Field Detail
-
nameLabel_
final javax.swing.JLabel nameLabel_
-
statusLabel_
final javax.swing.JLabel statusLabel_
-
responseDetailAction_
final javax.swing.Action responseDetailAction_
-
response_
Response response_
-
-
Constructor Detail
-
ClientHandler
ClientHandler(Client client)
Constructor.- Parameters:
client
- client
-
-
Method Detail
-
result
public void result(Response response)
Updates status according to a received response. If the response is null, it indicates that no response is expected in the future.- Parameters:
response
- received response, or null
-
-