|
jPOS 1.6.1 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
org.jpos.iso.BaseChannel
org.jpos.iso.channel.VAPChannel
public class VAPChannel
ISOChannel implementation - VISA's VAP framing
ISOMsg,
ISOException,
ISOChannel| Field Summary |
|---|
| Fields inherited from interface org.jpos.iso.ISOChannel |
|---|
CONNECT, RX, SIZEOF_CNT, TX |
| Constructor Summary | |
|---|---|
VAPChannel()
Public constructor (used by Class.forName("...").newInstance()) |
|
VAPChannel(ISOPackager p)
Construct server ISOChannel |
|
VAPChannel(ISOPackager p,
java.net.ServerSocket serverSocket)
constructs a server ISOChannel associated with a Server Socket |
|
VAPChannel(java.lang.String host,
int port,
ISOPackager p)
Construct client ISOChannel |
|
| Method Summary | |
|---|---|
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) |
| 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 |
|---|
public VAPChannel()
public VAPChannel(java.lang.String host,
int port,
ISOPackager p)
host - server TCP Addressport - server port numberp - an ISOPackager (should be ISO87BPackager)ISO87BPackager
public VAPChannel(ISOPackager p)
throws java.io.IOException
p - an ISOPackager (should be ISO87BPackager)
java.io.IOExceptionISO87BPackager
public VAPChannel(ISOPackager p,
java.net.ServerSocket serverSocket)
throws java.io.IOException
p - an ISOPackagerserverSocket - where to accept a connection
java.io.IOExceptionISOPackager| Method Detail |
|---|
public void send(ISOMsg m)
throws java.io.IOException,
ISOException
send in interface ISOChannelsend in interface ISOSourcesend in class BaseChannelm - the Message to be sent
java.io.IOException
ISOExceptionISOChannel.send(org.jpos.iso.ISOMsg)
public void setConfiguration(Configuration cfg)
throws ConfigurationException
BaseChannel
setConfiguration in interface ConfigurablesetConfiguration in class BaseChannelcfg - Configuration
ConfigurationException
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||