public class IhapHandler
extends com.itac.mes.datainterface.socket.BaseIhapHandler
| Constructor and Description |
|---|
IhapHandler() |
| Modifier and Type | Method and Description |
|---|---|
IMesServicesChannel |
connect(String host,
int port,
String channelName,
PropertyChangeListener connectionStateCloseListener,
ClassLoader classLoader,
com.itac.mes.datainterface.data.IMesServicesLog log)
This handler is responsible for calling all IMesServices functions at a socket server for this type.
|
public IMesServicesChannel connect(String host, int port, String channelName, PropertyChangeListener connectionStateCloseListener, ClassLoader classLoader, com.itac.mes.datainterface.data.IMesServicesLog log) throws IOException
host - the host where the server listensport - the port the server listenschannelName - the name of the channel. As every channel has a unique name it is possible to debug server/client sideconnectionStateCloseListener - detect wether aclassLoader - a classloader to override default class loaderlog - the mesLog. if null prints direct to System.out/System.errIOException - thrown if no connection was established (server not available)Copyright © 2018. All Rights Reserved.