Package org.jpos.iso

Examples of org.jpos.iso.ISOChannel.disconnect()


        current = null;
        LogEvent evt = new LogEvent (this, "disconnect");
        for (Object aPool : pool) {
            try {
                ISOChannel c = (ISOChannel) aPool;
                c.disconnect();
            } catch (IOException e) {
                evt.addMessage(e);
            }
        }
        Logger.log (evt);
View Full Code Here


            {
                if (channel != null && channel.isConnected())
                {
                    try
                    {
                        channel.disconnect();
                    }
                    catch (IOException e)
                    {
                    }
                }
View Full Code Here

                if (channel.isConnected())
                {
                    takeOnline();
                    channel.send(req);
                    ISOMsg rsp = channel.receive();
                    channel.disconnect();
                    if (handBack != null)
                    {
                        rsp.merge(handBack);
                    }
                    sp.out(out, rsp);
View Full Code Here

            {
                try
                {
                    if (channel != null)
                    {
                        channel.disconnect();
                    }
                }
                catch (Exception e)
                {
                    getLog().warn("channel-worker-" + id, e.getMessage());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.