Skip to content

Commit

Permalink
Rename com.kenai.jnr.unixsocket to jnr.unixsocket
Browse files Browse the repository at this point in the history
  • Loading branch information
vp-of-awesome committed Feb 19, 2011
1 parent 73fd042 commit cade362
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -91,7 +97,4 @@
</extension>
</extensions>
</build>
<reporting>
<outputDirectory>build/report</outputDirectory>
</reporting>
</project>
4 changes: 2 additions & 2 deletions src/example/UnixClient.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/example/UnixServer.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cade362

Please sign in to comment.