File
Doc
Category
Size
Date
Package
MockSocketChannel.java
API Doc
Android 1.5 API
2120
Wed May 06 22:41:04 BST 2009
org.apache.harmony.nio.tests.java.nio.channels
MockSocketChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.SocketChannel
public class MockSocketChannel extends SocketChannel
Fields Summary
Constructors Summary
protected MockSocketChannel
(
SelectorProvider
arg0)
super(arg0);
Methods Summary
public
boolean
connect
(
java.net.SocketAddress
arg0)
return false;
public
boolean
finishConnect
()
return false;
protected void
implCloseSelectableChannel
()
protected void
implConfigureBlocking
(
boolean
arg0)
public
boolean
isConnected
()
return false;
public
boolean
isConnectionPending
()
return false;
public
int
read
(
java.nio.ByteBuffer
arg0)
return 0;
public
long
read
(
java.nio.ByteBuffer[]
arg0,
int
arg1,
int
arg2)
return 0;
public
java.net.Socket
socket
()
return null;
public
long
write
(
java.nio.ByteBuffer[]
arg0,
int
arg1,
int
arg2)
return 0;
public
int
write
(
java.nio.ByteBuffer
arg0)
return 0;
Java Code Source