|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.AbstractChannel
Field Summary |
Fields inherited from interface com.genesyslab.platform.commons.protocol.Channel |
DEFAULT_TIMEOUT, INFINITE_TIMEOUT |
Method Summary | |
void |
addChannelListener(ChannelListener listener)
Add listener about connection lifecicle events. |
void |
configure(ConnectionConfiguration config)
|
ConnectionConfiguration |
getConfiguration()
|
Endpoint |
getEndpoint()
|
ChannelState |
getState()
Return channel state. |
long |
getTimeout()
Return timeout. |
void |
removeChannelListener(ChannelListener listener)
Remove listener about connection lifecicle events. |
void |
setConnectionInvoker(AsyncInvoker connectionInvoker)
Set AsyncInvoker to be used by underlying connection layer. |
void |
setEndpoint(Endpoint endpoint)
|
void |
setInvoker(AsyncInvoker invoker)
|
void |
setTimeout(long timeout)
Set timeout for long operations. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.commons.protocol.Channel |
close, close, open, open |
Methods inherited from interface com.genesyslab.platform.commons.protocol.AsyncChannel |
beginClose, beginOpen |
Method Detail |
public ChannelState getState()
AsyncChannel
getState
in interface AsyncChannel
public void setTimeout(long timeout)
setTimeout
in interface Channel
timeout
- timeout in millisecondspublic long getTimeout()
Channel
getTimeout
in interface Channel
public void addChannelListener(ChannelListener listener)
ChannelListenerSupport
addChannelListener
in interface ChannelListenerSupport
listener
- listenerpublic void removeChannelListener(ChannelListener listener)
ChannelListenerSupport
removeChannelListener
in interface ChannelListenerSupport
listener
- listenerpublic void setInvoker(AsyncInvoker invoker)
setInvoker
in interface AsyncInvokerSupport
public void setConnectionInvoker(AsyncInvoker connectionInvoker)
setConnectionInvoker
in interface ConnectionInvokerSupport
connectionInvoker
- invoker for connection layerpublic ConnectionConfiguration getConfiguration()
getConfiguration
in interface ConfigurationSupport
public void configure(ConnectionConfiguration config)
configure
in interface ConfigurationSupport
public Endpoint getEndpoint()
getEndpoint
in interface EndpointSupport
public void setEndpoint(Endpoint endpoint)
setEndpoint
in interface EndpointSupport
|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |