Package org.tn5250j.interfaces
Interface SessionInterface
-
- All Known Implementing Classes:
Session5250
public interface SessionInterface
-
-
Method Summary
Modifier and Type Method Description voidaddSessionListener(SessionListener listener)voidconnect()voiddisconnect()java.lang.StringgetConfigurationResource()java.lang.StringgetSessionName()intgetSessionType()booleanisConnected()voidremoveSessionListener(SessionListener listener)java.lang.StringshowSystemRequest()Popups a dialog to ask the user for entering a SysReq value.voidsignalBell()Signals the user a sound (or maybe a light flash).
-
-
-
Method Detail
-
getConfigurationResource
java.lang.String getConfigurationResource()
-
isConnected
boolean isConnected()
-
getSessionName
java.lang.String getSessionName()
-
getSessionType
int getSessionType()
-
connect
void connect()
-
disconnect
void disconnect()
-
addSessionListener
void addSessionListener(SessionListener listener)
-
removeSessionListener
void removeSessionListener(SessionListener listener)
-
showSystemRequest
java.lang.String showSystemRequest()
Popups a dialog to ask the user for entering a SysReq value.- Returns:
- null if nothing to do, else a String containing the users input.
-
signalBell
void signalBell()
Signals the user a sound (or maybe a light flash).
-
-