File
Doc
Category
Size
Date
Package
MockDatagramChannel.java
API Doc
Android 1.5 API
2316
Wed May 06 22:41:04 BST 2009
org.apache.harmony.nio.tests.java.nio.channels
MockDatagramChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.DatagramChannel
public class MockDatagramChannel extends DatagramChannel
Fields Summary
Constructors Summary
public MockDatagramChannel
(
SelectorProvider
arg0)
super(arg0);
Methods Summary
public
java.nio.channels.DatagramChannel
connect
(
java.net.SocketAddress
arg0)
return null;
public
java.nio.channels.DatagramChannel
disconnect
()
return null;
protected void
implCloseSelectableChannel
()
// empty
protected void
implConfigureBlocking
(
boolean
arg0)
// empty
public
boolean
isConnected
()
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.SocketAddress
receive
(
java.nio.ByteBuffer
arg0)
return null;
public
int
send
(
java.nio.ByteBuffer
arg0,
java.net.SocketAddress
arg1)
return 0;
public
java.net.DatagramSocket
socket
()
return null;
public
int
write
(
java.nio.ByteBuffer
arg0)
return 0;
public
long
write
(
java.nio.ByteBuffer[]
arg0,
int
arg1,
int
arg2)
return 0;
Java Code Source