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 TypeMethodDescriptionvoidinboundConnectionDown(Connection<Y> con, Throwable cause) voidinboundConnectionUp(Connection<Y> con) final voidserverSocketBind(boolean success, Throwable cause) final voidserverSocketClose(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:
inboundConnectionUpin interfaceInConnListener<T>
-
inboundConnectionDown
- Specified by:
inboundConnectionDownin interfaceInConnListener<T>
-
serverSocketBind
- Specified by:
serverSocketBindin interfaceInConnListener<T>
-
serverSocketClose
- Specified by:
serverSocketClosein interfaceInConnListener<T>
-