public class DefaultLUMapperExit extends Object implements LUMapperInterface2
| Constructor and Description |
|---|
DefaultLUMapperExit()
The instance of this class is created by the client connection listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clientDisconnected(ClientConnectionData ccd)
This method is called whenever a client of a particular LU name
has disconnected from the server (note: not from the host session,
because the NetPhantom API provides methods such as HostConnect
and HostDisconnect).
|
void |
dispose()
Called to perform clean-up.
|
String[] |
getClientLUMappings()
Use this method to return a list of client mappings.
|
String |
mapClientToHostLU(ClientConnectionData ccd,
String host,
int port)
Gets the 3270/5250 LU name from an internet address
(and/or user name).
|
String |
mapClientToHostLU(ClientSession clientSession,
HostSessionPeer hostSessionPeer,
ClientConnectionData ccd,
String host,
int port)
Gets the 3270/5250 LU name from an internet address
(and/or user name).
|
void |
refresh()
Refreshes the contents in case of e.g.
|
public DefaultLUMapperExit()
throws IOException
IOException - if the file cannot be loaded.public String mapClientToHostLU(ClientConnectionData ccd, String host, int port)
The hostIPAddress parameter specifies the entry
in the "server.ini" under the [host] section. The sessionID
is zero for session 'A', one for session 'B', etc.
mapClientToHostLU in interface LUMapperInterfacepublic String mapClientToHostLU(ClientSession clientSession, HostSessionPeer hostSessionPeer, ClientConnectionData ccd, String host, int port)
The hostSessionPeer parameter is either a HostSession5250, HostSession3270 or HostSession3270Printer.
Note that the clientSession parameter may be null if the host session is started from a session pool.
mapClientToHostLU in interface LUMapperInterface2public void clientDisconnected(ClientConnectionData ccd)
clientDisconnected in interface LUMapperInterfacepublic String[] getClientLUMappings()
getClientLUMappings in interface LUMapperInterfacepublic void refresh()
throws IOException
refresh in interface LUMapperInterfaceIOException - if the file cannot be loaded.public void dispose()
dispose in interface LUMapperInterfacePhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.