Permalink
Browse files

Rename com.kenai.jnr.unixsocket to jnr.unixsocket

  • Loading branch information...
Wayne Meissner
Wayne Meissner committed Feb 19, 2011
1 parent 73fd042 commit cade3629ad94c8252e224df7c8db7582a7d7882a
View
@@ -71,6 +71,12 @@
<version>0.7</version>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.jruby.extras</groupId>
+ <artifactId>jnr-enxio</artifactId>
+ <version>0.1</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -91,7 +97,4 @@
</extension>
</extensions>
</build>
- <reporting>
- <outputDirectory>build/report</outputDirectory>
- </reporting>
</project>
@@ -1,8 +1,8 @@
package example;
-import com.kenai.jnr.unixsocket.UnixSocketAddress;
-import com.kenai.jnr.unixsocket.UnixSocketChannel;
+import jnr.unixsocket.UnixSocketAddress;
+import jnr.unixsocket.UnixSocketChannel;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
@@ -1,10 +1,10 @@
package example;
-import com.kenai.jnr.unixsocket.UnixServerSocket;
-import com.kenai.jnr.unixsocket.UnixServerSocketChannel;
-import com.kenai.jnr.unixsocket.UnixSocketAddress;
-import com.kenai.jnr.unixsocket.UnixSocketChannel;
+import jnr.unixsocket.UnixServerSocket;
+import jnr.unixsocket.UnixServerSocketChannel;
+import jnr.unixsocket.UnixSocketAddress;
+import jnr.unixsocket.UnixSocketChannel;
import com.kenai.jnr.enxio.channels.NativeSelectorProvider;
import java.io.IOException;
import java.nio.ByteBuffer;
@@ -14,7 +14,7 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.ProtocolFamily;
import com.kenai.constantine.platform.Sock;
@@ -14,14 +14,11 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.ProtocolFamily;
import com.kenai.jaffl.Platform;
import com.kenai.jaffl.struct.Struct;
-import com.kenai.jaffl.struct.Struct.UTF8String;
-import com.kenai.jaffl.struct.Struct.Unsigned16;
-import com.kenai.jaffl.struct.Struct.Unsigned8;
/**
* Native unix domain socket address structure.
@@ -14,7 +14,7 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import java.io.IOException;
import java.net.SocketAddress;
@@ -14,12 +14,12 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.ProtocolFamily;
import com.kenai.constantine.platform.Sock;
import com.kenai.jaffl.byref.IntByReference;
-import com.kenai.jnr.enxio.channels.NativeServerSocketChannel;
+import jnr.enxio.channels.NativeServerSocketChannel;
import java.io.IOException;
import java.nio.channels.SelectionKey;
import java.nio.channels.spi.SelectorProvider;
@@ -14,12 +14,12 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.SocketLevel;
import com.kenai.constantine.platform.SocketOption;
import com.kenai.jaffl.byref.IntByReference;
-import com.kenai.jnr.enxio.channels.NativeSocketChannel;
+import jnr.enxio.channels.NativeSocketChannel;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.Channel;
@@ -14,7 +14,7 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.ProtocolFamily;
@@ -14,14 +14,14 @@
* version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
*/
-package com.kenai.jnr.unixsocket;
+package jnr.unixsocket;
import com.kenai.constantine.platform.Errno;
import com.kenai.constantine.platform.ProtocolFamily;
import com.kenai.constantine.platform.Sock;
import com.kenai.jaffl.LastError;
import com.kenai.jaffl.byref.IntByReference;
-import com.kenai.jnr.enxio.channels.NativeSocketChannel;
+import jnr.enxio.channels.NativeSocketChannel;
import java.io.IOException;
import java.nio.channels.SelectionKey;

0 comments on commit cade362

Please sign in to comment.