com.sentilla.net
Class SenderDriver
java.lang.Object
com.sentilla.system.DriverAdapter
com.sentilla.net.SenderDriver
- All Implemented Interfaces:
- Driver
- Direct Known Subclasses:
- SenderDriver
public abstract class SenderDriver
- extends DriverAdapter
Driver class to creating a platform independent Sender object.
- See Also:
Sender
SenderDriver
public SenderDriver()
newSender
public abstract Sender newSender(Addressable addr,
String name)
create
public static Sender create(String driver,
Addressable addr,
String name)
throws ProtocolNotFoundException
- Returns a sender for protocol "name" and address "addr".
- Parameters:
addr
- address to send messages toname
- name of protocol to use
- Returns:
- new sender for protocol "name"
- Throws:
UnsupportedAddressException
- if the address type is not supported by protocol "name"
ProtocolNotFoundException
- See Also:
Sender
,
Addressable
,
ProtocolNotFoundException
,
UnsupportedAddressException
create
public static Sender create(Addressable addr,
String name)
throws ProtocolNotFoundException
- Returns a sender for protocol "name".
- Parameters:
name
- name of protocol to use
- Returns:
- new sender for protocol "name"
- Throws:
ProtocolNotFoundException
- If the protocol specified is not found (or supported) on this platform- See Also:
Sender
,
ProtocolNotFoundException
create
public static Sender create(String name)
throws ProtocolNotFoundException
- Throws:
ProtocolNotFoundException
Copyright © 2007 Sentilla Corporation. All Rights Reserved.