debian/0000755000000000000000000000000011726621374007177 5ustar debian/control0000644000000000000000000000221111726447212010573 0ustar Source: naga Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Michael Banck Build-Depends: debhelper (>= 7.0.50~), javahelper, ant, default-jdk Standards-Version: 3.9.3 Homepage: http://code.google.com/p/naga/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/naga Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/naga DM-Upload-Allowed: yes Package: libnaga-java Architecture: all Depends: ${shlibs:Depends}, ${java:Depends}, ${misc:Depends} Description: Simplified Java NIO asynchronous sockets Naga aims to be a very small NIO library that provides a handful of java classes to wrap the usual Socket and ServerSocket with asynchronous NIO counterparts. . All of this is driven from a single thread, making it useful for both client (e.g. allowing I/O to be done in the AWT-thread without any need for threads) and server programming (1 thread for all connections instead of 2 threads/connection). . Naga contains the code needed to get NIO up and running without having to code partially read buffers and setting various selection key flags. debian/source/0000755000000000000000000000000011726447244010501 5ustar debian/source/format0000644000000000000000000000001411653326450011701 0ustar 3.0 (quilt) debian/libnaga-java.jlibs0000644000000000000000000000001411653330550012523 0ustar _DIST/*.jar debian/changelog0000644000000000000000000000126411726447454011061 0ustar naga (2.1-3) unstable; urgency=low * debian/control (Maintainer): Moved to pkg-java. * debian/control (DM-Upload-Allowed, Vcs-Browser, Vcs-Svn): New fields. * debian/control (Standards-Version): Bumped to 3.9.3. -- Michael Banck Fri, 09 Mar 2012 19:42:51 +0100 naga (2.1-2) unstable; urgency=low * debian/patches/copyright_boilerplate.patch: New patch, adding copyright boilerplate to each source file, taken from upstream Subversion revison 76. -- Michael Banck Tue, 01 Nov 2011 14:02:06 +0100 naga (2.1-1) unstable; urgency=low * Initial release. -- Michael Banck Sun, 30 Oct 2011 21:01:43 +0100 debian/copyright0000644000000000000000000000276311653333672011142 0ustar This work was packaged for Debian by: Michael Banck on Sun, 30 Oct 2011 21:01:43 +0100 It was downloaded from: http://code.google.com/p/naga/ Upstream Author: Christoffer Lerno Copyright: Copyright (C) 2008-2011 Christoffer Lerno License: MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is: Copyright (C) 2011 Michael Banck and is licensed under the MIT license (see above) as well. debian/compat0000644000000000000000000000000211653326450010371 0ustar 7 debian/README.source0000644000000000000000000000017611653332342011353 0ustar naga for Debian --------------- The original tarball has been produced from the upstream subversion repository, revision 57. debian/patches/0000755000000000000000000000000011726447244010630 5ustar debian/patches/series0000644000000000000000000000003411653770062012036 0ustar copyright_boilerplate.patch debian/patches/copyright_boilerplate.patch0000644000000000000000000013440011653770066016245 0ustar Index: naga-2.1/src/main/naga/SocketObserver.java =================================================================== --- naga-2.1.orig/src/main/naga/SocketObserver.java 2011-11-01 14:12:03.936502922 +0100 +++ naga-2.1/src/main/naga/SocketObserver.java 2011-11-01 14:12:20.280506780 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; /** Index: naga-2.1/src/main/naga/SocketObserverAdapter.java =================================================================== --- naga-2.1.orig/src/main/naga/SocketObserverAdapter.java 2011-11-01 14:12:03.944504500 +0100 +++ naga-2.1/src/main/naga/SocketObserverAdapter.java 2011-11-01 14:12:20.284506731 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; /** Index: naga-2.1/src/main/naga/SocketChannelResponder.java =================================================================== --- naga-2.1.orig/src/main/naga/SocketChannelResponder.java 2011-11-01 14:12:03.876503656 +0100 +++ naga-2.1/src/main/naga/SocketChannelResponder.java 2011-11-01 14:12:20.284506731 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import naga.packetreader.RawPacketReader; Index: naga-2.1/src/main/naga/PacketWriter.java =================================================================== --- naga-2.1.orig/src/main/naga/PacketWriter.java 2011-11-01 14:12:03.860502454 +0100 +++ naga-2.1/src/main/naga/PacketWriter.java 2011-11-01 14:12:20.284506731 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.nio.ByteBuffer; Index: naga-2.1/src/main/naga/NIOUtils.java =================================================================== --- naga-2.1.orig/src/main/naga/NIOUtils.java 2011-11-01 14:12:04.120504012 +0100 +++ naga-2.1/src/main/naga/NIOUtils.java 2011-11-01 14:12:20.284506731 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.io.IOException; Index: naga-2.1/src/main/naga/NIOService.java =================================================================== --- naga-2.1.orig/src/main/naga/NIOService.java 2011-11-01 14:12:04.100503979 +0100 +++ naga-2.1/src/main/naga/NIOService.java 2011-11-01 14:12:20.288503610 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.io.IOException; Index: naga-2.1/src/main/naga/exception/ProtocolViolationException.java =================================================================== --- naga-2.1.orig/src/main/naga/exception/ProtocolViolationException.java 2011-11-01 14:12:03.868503754 +0100 +++ naga-2.1/src/main/naga/exception/ProtocolViolationException.java 2011-11-01 14:12:20.288503610 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.exception; import java.io.IOException; Index: naga-2.1/src/main/naga/ConnectionAcceptor.java =================================================================== --- naga-2.1.orig/src/main/naga/ConnectionAcceptor.java 2011-11-01 14:12:04.048503223 +0100 +++ naga-2.1/src/main/naga/ConnectionAcceptor.java 2011-11-01 14:12:20.288503610 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.net.InetSocketAddress; Index: naga-2.1/src/main/naga/NIOAbstractSocket.java =================================================================== --- naga-2.1.orig/src/main/naga/NIOAbstractSocket.java 2011-11-01 14:12:04.032503978 +0100 +++ naga-2.1/src/main/naga/NIOAbstractSocket.java 2011-11-01 14:12:20.288503610 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.net.InetSocketAddress; Index: naga-2.1/src/main/naga/NIOServerSocket.java =================================================================== --- naga-2.1.orig/src/main/naga/NIOServerSocket.java 2011-11-01 14:12:04.040502763 +0100 +++ naga-2.1/src/main/naga/NIOServerSocket.java 2011-11-01 14:12:20.288503610 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.net.ServerSocket; Index: naga-2.1/src/main/naga/eventmachine/DelayedAction.java =================================================================== --- naga-2.1.orig/src/main/naga/eventmachine/DelayedAction.java 2011-11-01 14:12:03.888506023 +0100 +++ naga-2.1/src/main/naga/eventmachine/DelayedAction.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.eventmachine; import java.util.Date; Index: naga-2.1/src/main/naga/eventmachine/EventMachine.java =================================================================== --- naga-2.1.orig/src/main/naga/eventmachine/EventMachine.java 2011-11-01 14:12:03.896503970 +0100 +++ naga-2.1/src/main/naga/eventmachine/EventMachine.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.eventmachine; import naga.NIOService; Index: naga-2.1/src/main/naga/eventmachine/DelayedEvent.java =================================================================== --- naga-2.1.orig/src/main/naga/eventmachine/DelayedEvent.java 2011-11-01 14:12:03.912502936 +0100 +++ naga-2.1/src/main/naga/eventmachine/DelayedEvent.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.eventmachine; /** Index: naga-2.1/src/main/naga/ServerSocketObserver.java =================================================================== --- naga-2.1.orig/src/main/naga/ServerSocketObserver.java 2011-11-01 14:12:03.956502677 +0100 +++ naga-2.1/src/main/naga/ServerSocketObserver.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.io.IOException; Index: naga-2.1/src/main/naga/ServerSocketObserverAdapter.java =================================================================== --- naga-2.1.orig/src/main/naga/ServerSocketObserverAdapter.java 2011-11-01 14:12:03.920505911 +0100 +++ naga-2.1/src/main/naga/ServerSocketObserverAdapter.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.io.IOException; Index: naga-2.1/src/main/naga/PacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/PacketReader.java 2011-11-01 14:12:04.108503322 +0100 +++ naga-2.1/src/main/naga/PacketReader.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import naga.exception.ProtocolViolationException; Index: naga-2.1/src/main/naga/ServerSocketChannelResponder.java =================================================================== --- naga-2.1.orig/src/main/naga/ServerSocketChannelResponder.java 2011-11-01 14:12:04.056502845 +0100 +++ naga-2.1/src/main/naga/ServerSocketChannelResponder.java 2011-11-01 14:12:20.292501606 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.io.IOException; Index: naga-2.1/src/main/naga/ChannelResponder.java =================================================================== --- naga-2.1.orig/src/main/naga/ChannelResponder.java 2011-11-01 14:12:03.928503578 +0100 +++ naga-2.1/src/main/naga/ChannelResponder.java 2011-11-01 14:12:20.296509938 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.net.InetSocketAddress; Index: naga-2.1/src/main/naga/NIOSocket.java =================================================================== --- naga-2.1.orig/src/main/naga/NIOSocket.java 2011-11-01 14:12:03.964504255 +0100 +++ naga-2.1/src/main/naga/NIOSocket.java 2011-11-01 14:12:20.296509938 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga; import java.net.Socket; Index: naga-2.1/src/main/naga/examples/Rot13Server.java =================================================================== --- naga-2.1.orig/src/main/naga/examples/Rot13Server.java 2011-11-01 14:12:03.972504436 +0100 +++ naga-2.1/src/main/naga/examples/Rot13Server.java 2011-11-01 14:12:20.300504861 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.examples; import naga.*; Index: naga-2.1/src/main/naga/examples/ValidationServer.java =================================================================== --- naga-2.1.orig/src/main/naga/examples/ValidationServer.java 2011-11-01 14:12:04.016504734 +0100 +++ naga-2.1/src/main/naga/examples/ValidationServer.java 2011-11-01 14:12:20.300504861 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.examples; import naga.*; Index: naga-2.1/src/main/naga/examples/EchoServer.java =================================================================== --- naga-2.1.orig/src/main/naga/examples/EchoServer.java 2011-11-01 14:12:03.976503270 +0100 +++ naga-2.1/src/main/naga/examples/EchoServer.java 2011-11-01 14:12:20.300504861 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.examples; import naga.*; Index: naga-2.1/src/main/naga/examples/ValidationClient.java =================================================================== --- naga-2.1.orig/src/main/naga/examples/ValidationClient.java 2011-11-01 14:12:04.024504356 +0100 +++ naga-2.1/src/main/naga/examples/ValidationClient.java 2011-11-01 14:12:20.300504861 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.examples; import naga.NIOService; Index: naga-2.1/src/main/naga/packetwriter/RegularPacketWriter.java =================================================================== --- naga-2.1.orig/src/main/naga/packetwriter/RegularPacketWriter.java 2011-11-01 14:12:03.844505164 +0100 +++ naga-2.1/src/main/naga/packetwriter/RegularPacketWriter.java 2011-11-01 14:12:20.300504861 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetwriter; import naga.NIOUtils; Index: naga-2.1/src/main/naga/packetwriter/RawPacketWriter.java =================================================================== --- naga-2.1.orig/src/main/naga/packetwriter/RawPacketWriter.java 2011-11-01 14:12:03.852503111 +0100 +++ naga-2.1/src/main/naga/packetwriter/RawPacketWriter.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetwriter; import naga.PacketWriter; Index: naga-2.1/src/main/naga/eventmachine/ExceptionObserver.java =================================================================== --- naga-2.1.orig/src/main/naga/eventmachine/ExceptionObserver.java 2011-11-01 14:12:03.904503593 +0100 +++ naga-2.1/src/main/naga/eventmachine/ExceptionObserver.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.eventmachine; /** Index: naga-2.1/src/main/naga/packetreader/RawPacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/RawPacketReader.java 2011-11-01 14:12:03.764503624 +0100 +++ naga-2.1/src/main/naga/packetreader/RawPacketReader.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetreader; import naga.PacketReader; Index: naga-2.1/src/main/naga/packetreader/DelimiterPacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/DelimiterPacketReader.java 2011-11-01 14:12:03.772503806 +0100 +++ naga-2.1/src/main/naga/packetreader/DelimiterPacketReader.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetreader; import naga.PacketReader; @@ -135,4 +156,4 @@ } return null; } -} \ No newline at end of file +} Index: naga-2.1/src/main/naga/packetreader/AsciiLinePacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/AsciiLinePacketReader.java 2011-11-01 14:12:03.780503430 +0100 +++ naga-2.1/src/main/naga/packetreader/AsciiLinePacketReader.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetreader; /** Index: naga-2.1/src/main/naga/packetreader/ZeroDelimitedPacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/ZeroDelimitedPacketReader.java 2011-11-01 14:12:03.788505846 +0100 +++ naga-2.1/src/main/naga/packetreader/ZeroDelimitedPacketReader.java 2011-11-01 14:12:20.304508723 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetreader; /** Index: naga-2.1/src/main/naga/packetreader/RegularPacketReader.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/RegularPacketReader.java 2011-11-01 14:12:03.796503794 +0100 +++ naga-2.1/src/main/naga/packetreader/RegularPacketReader.java 2011-11-01 14:12:20.308506719 +0100 @@ -1,3 +1,24 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ package naga.packetreader; import naga.NIOUtils; Index: naga-2.1/src/main/naga/packetreader/package-info.java =================================================================== --- naga-2.1.orig/src/main/naga/packetreader/package-info.java 2011-11-01 14:12:03.808502809 +0100 +++ naga-2.1/src/main/naga/packetreader/package-info.java 2011-11-01 14:12:20.308506719 +0100 @@ -1,4 +1,25 @@ +/* +Copyright (c) 2008-2011 Christoffer Lernö + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ /** * Package containing various ready-to-use {@code PacketReader} implementations. */ -package naga.packetreader; \ No newline at end of file +package naga.packetreader; debian/version.properties0000644000000000000000000000016311653327623013001 0ustar #Build Number for ANT. Do not edit! #Sun Apr 25 09:31:26 CEST 2010 build.number=42 major.version=2 minor.version=1 debian/libnaga-java.javadoc0000644000000000000000000000002011653330771013031 0ustar _BUILD/docs/api debian/rules0000755000000000000000000000120111653332506010244 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh --with javahelper $@ override_dh_auto_configure: cp debian/version.properties $(CURDIR) dh_auto_configure --with-javahelper override_dh_auto_clean: rm -rf _BUILD _DIST version.properties dh_clean