public interface ConnectionFactory
Title: Service Event Fabric Core
Description: Defines a factory that creates the Connection
objects.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
addConnectionStateHandler(byte connectionType,
ConnectionStateHandler handler) |
Connection |
createConnection(LinkAddress address,
long timeout) |
Connection |
createConnection(LinkAddress address,
long timeout,
byte connectionType) |
void |
destroy() |
java.util.List |
listConnectionStateHandlers() |
void |
removeConnectionStateHandler(byte connectionType) |
void |
setConnectionChannelFactory(com.streamscape.sef.network.tlp.impl.ConnectionChannelFactory channelFactory) |
void |
setRequestThreadPool(ThreadPoolType poolType,
int poolSize) |
void addConnectionStateHandler(byte connectionType, ConnectionStateHandler handler)
void removeConnectionStateHandler(byte connectionType)
java.util.List listConnectionStateHandlers()
void setRequestThreadPool(ThreadPoolType poolType, int poolSize)
void setConnectionChannelFactory(com.streamscape.sef.network.tlp.impl.ConnectionChannelFactory channelFactory)
Connection createConnection(LinkAddress address, long timeout) throws FabricException
FabricException
Connection createConnection(LinkAddress address, long timeout, byte connectionType) throws FabricException
FabricException
void destroy()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.