Class TextInterfaceToSessionLayer

All Implemented Interfaces:
SessionLayerListener, ImageObserver, MenuContainer, Serializable, Accessible

public class TextInterfaceToSessionLayer extends App implements SessionLayerListener
A connection selection dialog and a TextInterfaceWithHistory glued to a SessionLayer.
See Also:
  • Constructor Details

    • TextInterfaceToSessionLayer

      public TextInterfaceToSessionLayer()
  • Method Details

    • setNetworkSession

      public void setNetworkSession(SessionLayer session)
    • sendCommand

      public void sendCommand(String str)
    • getCommand

      public String getCommand()
    • setCommand

      public void setCommand(String str)
    • networkSessionEvent

      public void networkSessionEvent(SessionLayerEvent evt)
      Description copied from interface: SessionLayerListener
      see NetworkSessionEvent for flags
      Specified by:
      networkSessionEvent in interface SessionLayerListener
      Parameters:
      evt -
    • getIsConnected

      public boolean getIsConnected()
    • closeConnection

      public void closeConnection()
    • addActionListener

      public void addActionListener(ActionListener a)
    • removeActionListener

      public void removeActionListener(ActionListener a)
    • addNetworkSessionListener

      public void addNetworkSessionListener(SessionLayerListener a)
    • removeNetworkSessionListener

      public void removeNetworkSessionListener(SessionLayerListener a)
    • main

      public static void main(String[] args)