public class FSDChannel extends NACChannel
cnt, header, incomingFilters, logger, originalRealm, outgoingFilters, overrideHeader, packager, realm, serverIn, serverInLock, serverOut, serverOutLock, serverSocket, socketFactory, usable
CONNECT, RX, SIZEOF_CNT, TX
Constructor and Description |
---|
FSDChannel() |
Modifier and Type | Method and Description |
---|---|
ISOMsg |
createMsg()
support old factory method name for backward compatibility
|
protected int |
getMessageLength() |
void |
send(ISOMsg m)
sends an ISOMsg over the TCP/IP session
|
void |
setConfiguration(Configuration cfg)
Implements Configurable
Properties: host - destination host (if ClientChannel) port - port number (if ClientChannel) local-iface - local interfase to use (if ClientChannel) local-port - local port to bind (if ClientChannel) (host not present indicates a ServerChannel) |
sendMessageHeader, sendMessageLength, setHeader
accept, addFilter, addFilter, addIncomingFilter, addOutgoingFilter, applyIncomingFilters, applyIncomingFilters, applyOutgoingFilters, applyTimeout, clone, closeSocket, connect, connect, createISOMsg, disconnect, getBytes, getChannel, getConfiguration, getCounters, getDynamicHeader, getDynamicPackager, getDynamicPackager, getDynamicPackager, getExceptionHandlers, getHeader, getHeaderLength, getHeaderLength, getHeaderLength, getHost, getIncomingFilters, getLogger, getMaxPacketLength, getMessage, getMessageTrailer, getMessageTrailler, getName, getOriginalRealm, getOutgoingFilters, getPackager, getPort, getRealm, getServerSocket, getSocket, getSocketFactory, getSoLingerSeconds, getTimeout, isConnected, isExpectKeepAlive, isOverrideHeader, isRejected, isSoLingerOn, newSocket, newSocket, pack, postConnectHook, readHeader, receive, reconnect, removeFilter, removeFilter, removeIncomingFilter, removeOutgoingFilter, resetCounters, send, sendKeepAlive, sendMessage, sendMessageTrailer, sendMessageTrailler, sendMessageTrailler, setHeader, setHost, setHost, setIncomingFilters, setLocalAddress, setLogger, setMaxPacketLength, setName, setOutgoingFilters, setOverrideHeader, setPackager, setPort, setServerSocket, setSocketFactory, setSoLinger, setTimeout, setUsable, shouldIgnore, streamReceive, unpack
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandler, addHandler, handle, removeHandler, removeHandler, removeHandlers
public ISOMsg createMsg()
BaseChannel
createMsg
in class BaseChannel
public void setConfiguration(Configuration cfg) throws ConfigurationException
BaseChannel
setConfiguration
in interface Configurable
setConfiguration
in class NACChannel
cfg
- ConfigurationConfigurationException
public void send(ISOMsg m) throws java.io.IOException, ISOException
BaseChannel
send
in interface ISOChannel
send
in interface ISOSource
send
in class BaseChannel
m
- the Message to be sentjava.io.IOException
ISOException
protected int getMessageLength() throws java.io.IOException, ISOException
getMessageLength
in class NACChannel
java.io.IOException
ISOException