kaos.core.service.transport.tcp
Class TCPTransportSystem

java.lang.Object
  extended by kaos.core.service.transport.tcp.TCPTransportSystem

public class TCPTransportSystem
extends java.lang.Object

Since:
1.0

Field Summary
static java.lang.String TCP
           
 
Constructor Summary
TCPTransportSystem()
           
TCPTransportSystem(ServiceProperties env)
           
 
Method Summary
 java.lang.String getBindingName()
           
 MessageTransportService getMessageTransportService(Locator l)
           
 MessageTransportService[] getMessageTransportServices()
           
 ServiceProperties getServiceProperties()
           
 boolean loadTransportService(java.lang.String type, ServiceProperties env)
           
 MessageReceiver newMessageReceiver(JasBean env)
           
 MessageSender newMessageSender(JasBean env)
           
 void sendMessage(TransportMessage msg)
           
 void sendMessage(TransportMessage msg, Locator l)
           
 void setServiceProperties(ServiceProperties props)
           
 boolean unloadTransportService(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TCP

public static final java.lang.String TCP
See Also:
Constant Field Values
Constructor Detail

TCPTransportSystem

public TCPTransportSystem()
                   throws java.lang.Exception
Throws:
java.lang.Exception

TCPTransportSystem

public TCPTransportSystem(ServiceProperties env)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getBindingName

public java.lang.String getBindingName()

loadTransportService

public boolean loadTransportService(java.lang.String type,
                                    ServiceProperties env)

unloadTransportService

public boolean unloadTransportService(java.lang.String type)

getMessageTransportServices

public MessageTransportService[] getMessageTransportServices()
                                                      throws TransportFailure
Throws:
TransportFailure

getMessageTransportService

public MessageTransportService getMessageTransportService(Locator l)
                                                   throws NotLocatableException,
                                                          TransportFailure
Throws:
NotLocatableException
TransportFailure

newMessageSender

public MessageSender newMessageSender(JasBean env)
                               throws NotLocatableException,
                                      TransportFailure
Throws:
NotLocatableException
TransportFailure

newMessageReceiver

public MessageReceiver newMessageReceiver(JasBean env)
                                   throws NotLocatableException,
                                          TransportFailure
Throws:
NotLocatableException
TransportFailure

sendMessage

public void sendMessage(TransportMessage msg)
                 throws NotLocatableException,
                        NoSuchTransportException,
                        TransportFailure
Throws:
NotLocatableException
NoSuchTransportException
TransportFailure

sendMessage

public void sendMessage(TransportMessage msg,
                        Locator l)
                 throws NotLocatableException,
                        NoSuchTransportException,
                        TransportFailure
Throws:
NotLocatableException
NoSuchTransportException
TransportFailure

getServiceProperties

public ServiceProperties getServiceProperties()

setServiceProperties

public void setServiceProperties(ServiceProperties props)