public abstract class TransportFactory
extends java.lang.Object
Constructor and Description |
---|
TransportFactory() |
Modifier and Type | Method and Description |
---|---|
Port |
createPort() |
abstract Port |
createPort(EventHandler handler) |
static TransportFactory |
getInstance() |
public static TransportFactory getInstance()
public final Port createPort()
public abstract Port createPort(EventHandler handler)
handler
- may be null
if no handler is required