Class SingleThreadedServerChannel<T,Y>
java.lang.Object
pt.unl.fct.di.novasys.channel.base.SingleThreadedChannel<T,Y>
pt.unl.fct.di.novasys.channel.base.SingleThreadedServerChannel<T,Y>
- All Implemented Interfaces:
IChannel<T>
,InConnListener<Y>
,MessageListener<Y>
- Direct Known Subclasses:
SimpleServerChannel
public abstract class SingleThreadedServerChannel<T,Y>
extends SingleThreadedChannel<T,Y>
implements InConnListener<Y>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
inboundConnectionDown
(Connection<Y> con, Throwable cause) void
inboundConnectionUp
(Connection<Y> con) final void
serverSocketBind
(boolean success, Throwable cause) final void
serverSocketClose
(boolean success, Throwable cause) Methods inherited from class pt.unl.fct.di.novasys.channel.base.SingleThreadedChannel
closeConnection, deliverMessage, openConnection, sendMessage
-
Constructor Details
-
SingleThreadedServerChannel
-
-
Method Details
-
inboundConnectionUp
- Specified by:
inboundConnectionUp
in interfaceInConnListener<T>
-
inboundConnectionDown
- Specified by:
inboundConnectionDown
in interfaceInConnListener<T>
-
serverSocketBind
- Specified by:
serverSocketBind
in interfaceInConnListener<T>
-
serverSocketClose
- Specified by:
serverSocketClose
in interfaceInConnListener<T>
-