jPOS 1.6.7 API Documentation

org.jpos.iso.channel
Class BASE24Channel

java.lang.Object
  extended by java.util.Observable
      extended by org.jpos.iso.BaseChannel
          extended by org.jpos.iso.channel.BASE24Channel
All Implemented Interfaces:
java.lang.Cloneable, Configurable, BaseChannelMBean, ClientChannel, FactoryChannel, FilteredChannel, ISOChannel, ISOSource, ServerChannel, LogSource

public class BASE24Channel
extends BaseChannel

Implements an ISOChannel capable to exchange messages with ACI's BASE24[tm] over an X.25 link. An instance of this class exchanges messages by means of an intermediate 'port server' as described in the Overview page.

Version:
$Id: BASE24Channel.java 2854 2010-01-02 10:34:31Z apr $
Author:
apr@cs.com.uy
See Also:
ISOMsg, ISOException, ISOChannel

Field Summary
 
Fields inherited from interface org.jpos.iso.ISOChannel
CONNECT, RX, SIZEOF_CNT, TX
 
Constructor Summary
BASE24Channel()
          Public constructor (used by Class.forName("...").newInstance())
BASE24Channel(ISOPackager p)
          Construct server ISOChannel
BASE24Channel(ISOPackager p, java.net.ServerSocket serverSocket)
          constructs a server ISOChannel associated with a Server Socket
BASE24Channel(java.lang.String host, int port, ISOPackager p)
          Construct client ISOChannel
 
Method Summary
 
Methods inherited from class org.jpos.iso.BaseChannel
accept, addFilter, addFilter, addIncomingFilter, addOutgoingFilter, clone, connect, disconnect, getBytes, getChannel, getConfiguration, getCounters, getHeader, getHost, getIncomingFilters, getLogger, getMaxPacketLength, getName, getOriginalRealm, getOutgoingFilters, getPackager, getPort, getRealm, getServerSocket, getSocket, getSocketFactory, getTimeout, isConnected, isOverrideHeader, receive, reconnect, removeFilter, removeFilter, removeIncomingFilter, removeOutgoingFilter, resetCounters, send, send, sendKeepAlive, setConfiguration, setHeader, setHeader, setHost, setHost, setIncomingFilters, setLocalAddress, setLogger, setMaxPacketLength, setName, setOutgoingFilters, setOverrideHeader, setPackager, setPort, setServerSocket, setSocketFactory, setTimeout, setUsable
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BASE24Channel

public BASE24Channel()
Public constructor (used by Class.forName("...").newInstance())


BASE24Channel

public BASE24Channel(java.lang.String host,
                     int port,
                     ISOPackager p)
Construct client ISOChannel

Parameters:
host - server TCP Address
port - server port number
p - an ISOPackager
See Also:
ISOPackager

BASE24Channel

public BASE24Channel(ISOPackager p)
              throws java.io.IOException
Construct server ISOChannel

Parameters:
p - an ISOPackager
Throws:
java.io.IOException
See Also:
ISOPackager

BASE24Channel

public BASE24Channel(ISOPackager p,
                     java.net.ServerSocket serverSocket)
              throws java.io.IOException
constructs a server ISOChannel associated with a Server Socket

Parameters:
p - an ISOPackager
serverSocket - where to accept a connection
Throws:
java.io.IOException
See Also:
ISOPackager

jPOS.org