|
jPOS 1.6.1 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.space.SpaceChannel
public class SpaceChannel
Space based Channel implementation
Channel| Constructor Summary | |
|---|---|
SpaceChannel()
|
|
SpaceChannel(java.lang.String to,
java.lang.String from)
|
|
| Method Summary | |
|---|---|
ISOMsg |
receive()
Blocks until a message is received |
ISOMsg |
receive(long timeout)
Blocks for a given period of time until a message is received |
void |
send(ISOMsg m)
|
void |
setConfiguration(Configuration cfg)
reads "to" and "from" properties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceChannel()
public SpaceChannel(java.lang.String to,
java.lang.String from)
to - output queuefrom - input queue| Method Detail |
|---|
public void setConfiguration(Configuration cfg)
setConfiguration in interface Configurablecfg - public void send(ISOMsg m)
send in interface Channelm - message to sendpublic ISOMsg receive()
receive in interface Channelpublic ISOMsg receive(long timeout)
receive in interface Channeltimeout - time to wait in millis
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||