Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
import io.netty.channel.Channel;

/**
* <p>DefaultChannlContextFactory class.</p>
* <p>DefaultChannelContextFactory class.</p>
*
* @author Rafael Luis Ibasco
*/
public class DefaultChannlContextFactory<M extends NettyMessenger<? extends AbstractRequest, ? extends AbstractResponse>> implements NettyChannelContextFactory {
public class DefaultChannelContextFactory<M extends NettyMessenger<? extends AbstractRequest, ? extends AbstractResponse>> implements NettyChannelContextFactory {

private final M messenger;

/**
* <p>Constructor for DefaultChannlContextFactory.</p>
* <p>Constructor for DefaultChannelContextFactory.</p>
*
* @param messenger
* a M object
*/
public DefaultChannlContextFactory(M messenger) {
public DefaultChannelContextFactory(M messenger) {
this.messenger = messenger;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import com.ibasco.agql.core.exceptions.MessengerException;
import com.ibasco.agql.core.exceptions.RejectedRequestException;
import com.ibasco.agql.core.exceptions.TimeoutException;
import com.ibasco.agql.core.transport.DefaultChannlContextFactory;
import com.ibasco.agql.core.transport.DefaultChannelContextFactory;
import com.ibasco.agql.core.transport.NettyChannelFactory;
import com.ibasco.agql.core.transport.NettyContextChannelFactory;
import com.ibasco.agql.core.transport.NettyPropertyResolver;
Expand Down Expand Up @@ -220,7 +220,7 @@ protected void configure(Options options) {
/** {@inheritDoc} */
@Override
protected NettyChannelFactory createChannelFactory() {
NettyContextChannelFactory channelFactory = getFactoryProvider().getContextualFactory(TransportType.UDP_CONNLESS, getOptions(), new DefaultChannlContextFactory<>(this));
NettyContextChannelFactory channelFactory = getFactoryProvider().getContextualFactory(TransportType.UDP_CONNLESS, getOptions(), new DefaultChannelContextFactory<>(this));
channelFactory.setResolver(new PropertyResolver(channelFactory.getResolver()));
return new SourceQueryChannelFactory(channelFactory);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.ibasco.agql.protocols.valve.source.query.rcon;

import com.ibasco.agql.core.NettyChannelContext;
import com.ibasco.agql.core.transport.DefaultChannlContextFactory;
import com.ibasco.agql.core.transport.DefaultChannelContextFactory;
import io.netty.channel.Channel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -27,7 +27,7 @@
*
* @author Rafael Luis Ibasco
*/
public class SourceRconChannelContextFactory extends DefaultChannlContextFactory<SourceRconMessenger> {
public class SourceRconChannelContextFactory extends DefaultChannelContextFactory<SourceRconMessenger> {

private static final Logger log = LoggerFactory.getLogger(SourceRconChannelContextFactory.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
package com.ibasco.agql.protocols.valve.steam.master;

import com.ibasco.agql.core.NettyChannelContext;
import com.ibasco.agql.core.transport.DefaultChannlContextFactory;
import com.ibasco.agql.core.transport.DefaultChannelContextFactory;
import io.netty.channel.Channel;

/**
* <p>MasterServerChannelContextFactory class.</p>
*
* @author Rafael Luis Ibasco
*/
public class MasterServerChannelContextFactory extends DefaultChannlContextFactory<MasterServerMessenger> {
public class MasterServerChannelContextFactory extends DefaultChannelContextFactory<MasterServerMessenger> {

/**
* <p>Constructor for MasterServerChannelContextFactory.</p>
Expand Down