|
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.PADChannel
public class PADChannel
Implements an ISOChannel suitable to be used to connect to an X.25 PAD.
ISOMsg,
ISOException,
ISOChannel| Field Summary |
|---|
| Fields inherited from interface org.jpos.iso.ISOChannel |
|---|
CONNECT, RX, SIZEOF_CNT, TX |
| Constructor Summary | |
|---|---|
PADChannel()
No-args constructor |
|
PADChannel(ISOPackager p)
Construct server ISOChannel |
|
PADChannel(ISOPackager p,
java.net.ServerSocket serverSocket)
constructs a server ISOChannel associated with a Server Socket |
|
PADChannel(java.lang.String host,
int port,
ISOPackager p)
Constructs client ISOChannel |
|
| Method Summary | |
|---|---|
ISOMsg |
receive()
Waits and receive an ISOMsg over the TCP/IP session |
void |
setHeader(java.lang.String header)
|
| 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 PADChannel()
public PADChannel(java.lang.String host,
int port,
ISOPackager p)
host - server TCP Addressport - server port numberp - an ISOPackagerISOPackager
public PADChannel(ISOPackager p)
throws java.io.IOException
p - an ISOPackager
java.io.IOExceptionISOPackager
public PADChannel(ISOPackager p,
java.net.ServerSocket serverSocket)
throws java.io.IOException
p - an ISOPackagerserverSocket - where to accept a connection
java.io.IOExceptionISOPackager| Method Detail |
|---|
public ISOMsg receive()
throws java.io.IOException,
ISOException
BaseChannel
receive in interface ISOChannelreceive in class BaseChanneljava.io.IOException
ISOExceptionpublic void setHeader(java.lang.String header)
setHeader in class BaseChannelheader - Hex representation of header
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||