Skip to content

Commit

Permalink
Change namespace to com.flowpowered.network
Browse files Browse the repository at this point in the history
Also update headers to reflect domain and name change
  • Loading branch information
lukespragg committed Jan 11, 2016
1 parent c0ac393 commit 5a8559a
Show file tree
Hide file tree
Showing 34 changed files with 170 additions and 170 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/flowpowered/network/AsyncableMessage.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

public interface AsyncableMessage extends Message {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,16 +21,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;

import com.flowpowered.networking.pipeline.MessageDecoder;
import com.flowpowered.networking.pipeline.MessageEncoder;
import com.flowpowered.networking.pipeline.MessageHandler;
import com.flowpowered.networking.pipeline.MessageProcessorDecoder;
import com.flowpowered.networking.pipeline.MessageProcessorEncoder;
import com.flowpowered.network.pipeline.MessageDecoder;
import com.flowpowered.network.pipeline.MessageEncoder;
import com.flowpowered.network.pipeline.MessageHandler;
import com.flowpowered.network.pipeline.MessageProcessorDecoder;
import com.flowpowered.network.pipeline.MessageProcessorEncoder;

/**
* Used to initialize the channels.
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/flowpowered/network/Codec.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import io.netty.buffer.ByteBuf;

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/flowpowered/network/ConnectionManager.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,11 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import io.netty.channel.Channel;

import com.flowpowered.networking.session.Session;
import com.flowpowered.network.session.Session;

/**
* This class defines a basic structure for any object which manages connections.
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/flowpowered/network/Message.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

/**
* Implementers of this class represent the data of a message to be sent.
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/flowpowered/network/MessageHandler.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,9 +21,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import com.flowpowered.networking.session.Session;
import com.flowpowered.network.session.Session;

/**
* Defines a class which handles a message of type {@code T}.
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/flowpowered/network/NetworkClient.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import java.net.SocketAddress;

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/flowpowered/network/NetworkServer.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking;
package com.flowpowered.network;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.exception;
package com.flowpowered.network.exception;

public class ChannelClosedException extends RuntimeException {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.exception;
package com.flowpowered.network.exception;

public class IllegalOpcodeException extends Exception {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,10 +21,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.exception;
package com.flowpowered.network.exception;

/**
* Thrown when a {@link com.flowpowered.networking.Codec} cannot be found for a given opcode and key.
* Thrown when a {@link com.flowpowered.network.Codec} cannot be found for a given opcode and key.
*/
public class UnknownPacketException extends Exception {
private static final long serialVersionUID = 2479966238464122702L;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,18 +21,18 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.pipeline;
package com.flowpowered.network.pipeline;

import java.util.List;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ReplayingDecoder;

import com.flowpowered.networking.Codec;
import com.flowpowered.networking.Message;
import com.flowpowered.networking.exception.UnknownPacketException;
import com.flowpowered.networking.protocol.Protocol;
import com.flowpowered.network.Codec;
import com.flowpowered.network.Message;
import com.flowpowered.network.exception.UnknownPacketException;
import com.flowpowered.network.protocol.Protocol;

/**
* A {@link ReplayingDecoder} which decodes {@link ByteBuf}s into {@link Message}s.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.pipeline;
package com.flowpowered.network.pipeline;

import java.io.IOException;
import java.util.List;
Expand All @@ -31,9 +31,9 @@
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageEncoder;

import com.flowpowered.networking.Codec.CodecRegistration;
import com.flowpowered.networking.Message;
import com.flowpowered.networking.protocol.Protocol;
import com.flowpowered.network.Codec.CodecRegistration;
import com.flowpowered.network.Message;
import com.flowpowered.network.protocol.Protocol;

/**
* A {@link MessageToMessageEncoder} which encodes into {@link ByteBuf}s.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.pipeline;
package com.flowpowered.network.pipeline;

import java.util.concurrent.atomic.AtomicReference;

Expand All @@ -32,9 +32,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.flowpowered.networking.ConnectionManager;
import com.flowpowered.networking.Message;
import com.flowpowered.networking.session.Session;
import com.flowpowered.network.ConnectionManager;
import com.flowpowered.network.Message;
import com.flowpowered.network.session.Session;

/**
* A {@link SimpleChannelUpstreamHandler} which processes incoming network events.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,11 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.pipeline;
package com.flowpowered.network.pipeline;

import java.util.List;

import com.flowpowered.networking.processor.MessageProcessor;
import com.flowpowered.network.processor.MessageProcessor;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Flow Networking, licensed under the MIT License (MIT).
* This file is part of Flow Network, licensed under the MIT License (MIT).
*
* Copyright (c) 2013 Spout LLC <https://spout.org/>
* Copyright (c) 2013 Flow Powered <https://flowpowered.com/>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -21,15 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.flowpowered.networking.pipeline;
package com.flowpowered.network.pipeline;

import java.util.List;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageEncoder;

import com.flowpowered.networking.processor.MessageProcessor;
import com.flowpowered.network.processor.MessageProcessor;

/**
* This class provides a layer of processing after encode but before the message is passed outbound.
Expand Down
Loading

0 comments on commit 5a8559a

Please sign in to comment.