|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.standalone.transport.localmtp.LocalTransport
public class LocalTransport
The local transport for sending messages on the same platform (just calls the local deliver method).
| Field Summary | |
|---|---|
protected String[] |
addresses
The addresses. |
protected IServiceProvider |
container
The platform. |
protected IMessageService |
msgservice
The message service. |
static String |
SCHEMA
The schema name. |
| Fields inherited from interface jadex.standalone.transport.ITransport |
|---|
PORT |
| Constructor Summary | |
|---|---|
LocalTransport(IServiceProvider container)
Init the transport. |
|
| Method Summary | |
|---|---|
String[] |
getAddresses()
Get the adresses of this transport. |
String |
getServiceSchema()
Returns the prefix of this transport |
IComponentIdentifier[] |
sendMessage(Map message,
String msgtype,
IComponentIdentifier[] recs)
Send a message. |
void |
shutdown()
Perform cleanup operations (if any). |
void |
start()
Start the transport. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SCHEMA
protected IMessageService msgservice
protected String[] addresses
protected IServiceProvider container
| Constructor Detail |
|---|
public LocalTransport(IServiceProvider container)
platform - The platform.settings - The settings.| Method Detail |
|---|
public void start()
start in interface ITransportpublic void shutdown()
shutdown in interface ITransport
public IComponentIdentifier[] sendMessage(Map message,
String msgtype,
IComponentIdentifier[] recs)
sendMessage in interface ITransportmessage - The message to send.
public String getServiceSchema()
getServiceSchema in interface ITransportpublic String[] getAddresses()
getAddresses in interface ITransport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||