public class DnsProtocolUdpCodecFactory extends Object implements org.apache.mina.filter.codec.ProtocolCodecFactory
Modifier and Type | Method and Description |
---|---|
org.apache.mina.filter.codec.ProtocolDecoder |
getDecoder(org.apache.mina.core.session.IoSession session) |
org.apache.mina.filter.codec.ProtocolEncoder |
getEncoder(org.apache.mina.core.session.IoSession session) |
static DnsProtocolUdpCodecFactory |
getInstance()
Returns the singleton instance of
DnsProtocolUdpCodecFactory . |
public static DnsProtocolUdpCodecFactory getInstance()
DnsProtocolUdpCodecFactory
.DnsProtocolUdpCodecFactory
.public org.apache.mina.filter.codec.ProtocolEncoder getEncoder(org.apache.mina.core.session.IoSession session)
getEncoder
in interface org.apache.mina.filter.codec.ProtocolCodecFactory
public org.apache.mina.filter.codec.ProtocolDecoder getDecoder(org.apache.mina.core.session.IoSession session)
getDecoder
in interface org.apache.mina.filter.codec.ProtocolCodecFactory
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.