Java Doc for SocketChannelImpl.java in » Apache-Harmony-Java-SE » org-package » org » apache » harmony » nio » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Apache Harmony Java SE
»
org package
»
org.apache.harmony.nio.internal
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.nio.channels
.SocketChannel
org.apache.harmony.nio.internal
.SocketChannelImpl
SocketChannelImpl
class SocketChannelImpl extends
SocketChannel
implements
FileDescriptorHandler
(Code)
Field Summary
final static int
SOCKET_STATUS_CLOSED
final static int
SOCKET_STATUS_CONNECTED
final static int
SOCKET_STATUS_PENDING
final static int
SOCKET_STATUS_UNCONNECTED
final static int
SOCKET_STATUS_UNINIT
InetSocketAddress
connectAddress
FileDescriptor
fd
volatile boolean
isBound
InetAddress
localAddress
int
localPort
final static
INetworkSystem
networkSystem
int
status
Constructor Summary
public
SocketChannelImpl
(
SelectorProvider
selectorProvider)
public
SocketChannelImpl
(
SelectorProvider
selectorProvider, boolean connect)
SocketChannelImpl
(
Socket
aSocket, FileDescriptor aFd)
Method Summary
public
boolean
connect
(
SocketAddress
socketAddress)
public
boolean
finishConnect
()
public
FileDescriptor
getFD
()
public
InetAddress
getLocalAddress
()
protected
synchronized void
implCloseSelectableChannel
()
protected
void
implConfigureBlocking
(boolean blockMode)
public
synchronized boolean
isConnected
()
public
synchronized boolean
isConnectionPending
()
public
int
read
(ByteBuffer target)
public
long
read
(ByteBuffer[] targets, int offset, int length)
void
setBound
(boolean flag)
synchronized void
setConnected
()
public
synchronized
Socket
socket
()
static
InetSocketAddress
validateAddress
(
SocketAddress
socketAddress)
public
int
write
(ByteBuffer source)
public
long
write
(ByteBuffer[] sources, int offset, int length)
Field Detail
SOCKET_STATUS_CLOSED
final static int SOCKET_STATUS_CLOSED
(Code)
SOCKET_STATUS_CONNECTED
final static int SOCKET_STATUS_CONNECTED
(Code)
SOCKET_STATUS_PENDING
final static int SOCKET_STATUS_PENDING
(Code)
SOCKET_STATUS_UNCONNECTED
final static int SOCKET_STATUS_UNCONNECTED
(Code)
SOCKET_STATUS_UNINIT
final static int SOCKET_STATUS_UNINIT
(Code)
connectAddress
InetSocketAddress
connectAddress
(Code)
fd
FileDescriptor fd
(Code)
isBound
volatile boolean isBound
(Code)
localAddress
InetAddress
localAddress
(Code)
localPort
int localPort
(Code)
networkSystem
final static
INetworkSystem
networkSystem
(Code)
status
int status
(Code)
Constructor Detail
SocketChannelImpl
public
SocketChannelImpl(
SelectorProvider
selectorProvider) throws
IOException
(Code)
SocketChannelImpl
public
SocketChannelImpl(
SelectorProvider
selectorProvider, boolean connect) throws
IOException
(Code)
SocketChannelImpl
SocketChannelImpl(
Socket
aSocket, FileDescriptor aFd)
(Code)
Method Detail
connect
public
boolean connect(
SocketAddress
socketAddress) throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.connect(java.net.SocketAddress)
finishConnect
public
boolean finishConnect() throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.finishConnect
getFD
public
FileDescriptor getFD()
(Code)
getLocalAddress
public
InetAddress
getLocalAddress() throws
UnknownHostException
(Code)
implCloseSelectableChannel
protected
synchronized void implCloseSelectableChannel() throws
IOException
(Code)
implConfigureBlocking
protected
void implConfigureBlocking(boolean blockMode) throws
IOException
(Code)
See Also:
java.nio.channels.spi.AbstractSelectableChannel.implConfigureBlocking(boolean)
isConnected
public
synchronized boolean isConnected()
(Code)
See Also:
java.nio.channels.SocketChannel.isConnected
isConnectionPending
public
synchronized boolean isConnectionPending()
(Code)
See Also:
java.nio.channels.SocketChannel.isConnectionPending
read
public
int read(ByteBuffer target) throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.read(java.nio.ByteBuffer)
read
public
long read(ByteBuffer[] targets, int offset, int length) throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.read(java.nio.ByteBuffer[]intint)
setBound
void setBound(boolean flag)
(Code)
setConnected
synchronized void setConnected()
(Code)
socket
public
synchronized
Socket
socket()
(Code)
validateAddress
static
InetSocketAddress
validateAddress(
SocketAddress
socketAddress)
(Code)
write
public
int write(ByteBuffer source) throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.write(java.nio.ByteBuffer)
write
public
long write(ByteBuffer[] sources, int offset, int length) throws
IOException
(Code)
See Also:
java.nio.channels.SocketChannel.write(java.nio.ByteBuffer[]intint)
Methods inherited from
java.nio.channels.SocketChannel
abstract
public
boolean connect(
SocketAddress
remote) throws
IOException
(Code)
(Java Doc)
abstract
public
boolean finishConnect() throws
IOException
(Code)
(Java Doc)
abstract
public
boolean isConnected()
(Code)
(Java Doc)
abstract
public
boolean isConnectionPending()
(Code)
(Java Doc)
public
static
SocketChannel
open() throws
IOException
(Code)
(Java Doc)
public
static
SocketChannel
open(
SocketAddress
remote) throws
IOException
(Code)
(Java Doc)
abstract
public
int read(ByteBuffer dst) throws
IOException
(Code)
(Java Doc)
abstract
public
long read(ByteBuffer[] dsts, int offset, int length) throws
IOException
(Code)
(Java Doc)
final
public
long read(ByteBuffer[] dsts) throws
IOException
(Code)
(Java Doc)
abstract
public
Socket
socket()
(Code)
(Java Doc)
final
public
int validOps()
(Code)
(Java Doc)
abstract
public
int write(ByteBuffer src) throws
IOException
(Code)
(Java Doc)
abstract
public
long write(ByteBuffer[] srcs, int offset, int length) throws
IOException
(Code)
(Java Doc)
final
public
long write(ByteBuffer[] srcs) throws
IOException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.