kaos.core.service.transport.tcp
Class TCPTransportSystem
java.lang.Object
kaos.core.service.transport.tcp.TCPTransportSystem
public class TCPTransportSystem
- extends java.lang.Object
- Since:
- 1.0
Field Summary |
static java.lang.String |
TCP
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCP
public static final java.lang.String TCP
- See Also:
- Constant Field Values
TCPTransportSystem
public TCPTransportSystem()
throws java.lang.Exception
- Throws:
java.lang.Exception
TCPTransportSystem
public TCPTransportSystem(ServiceProperties env)
throws java.lang.Exception
- Throws:
java.lang.Exception
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)