Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.cldc.socket
Class Connection  view Connection download Connection.java

java.lang.Object
  extended bycom.barteo.cldc.socket.Connection
All Implemented Interfaces:
com.barteo.cldc.ClosedConnection, javax.microedition.io.Connection, javax.microedition.io.InputConnection, javax.microedition.io.OutputConnection, javax.microedition.io.StreamConnection

public class Connection
extends java.lang.Object
implements javax.microedition.io.StreamConnection, com.barteo.cldc.ClosedConnection


Field Summary
private  java.net.Socket socket
           
 
Constructor Summary
Connection()
           
 
Method Summary
 void close()
           
 javax.microedition.io.Connection open(java.lang.String name)
           
 java.io.DataInputStream openDataInputStream()
           
 java.io.DataOutputStream openDataOutputStream()
           
 java.io.InputStream openInputStream()
           
 java.io.OutputStream openOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

private java.net.Socket socket
Constructor Detail

Connection

public Connection()
Method Detail

open

public javax.microedition.io.Connection open(java.lang.String name)
                                      throws java.io.IOException
Specified by:
open in interface com.barteo.cldc.ClosedConnection

close

public void close()
           throws java.io.IOException
Specified by:
close in interface javax.microedition.io.Connection

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Specified by:
openInputStream in interface javax.microedition.io.InputConnection

openDataInputStream

public java.io.DataInputStream openDataInputStream()
                                            throws java.io.IOException
Specified by:
openDataInputStream in interface javax.microedition.io.InputConnection

openOutputStream

public java.io.OutputStream openOutputStream()
                                      throws java.io.IOException
Specified by:
openOutputStream in interface javax.microedition.io.OutputConnection

openDataOutputStream

public java.io.DataOutputStream openDataOutputStream()
                                              throws java.io.IOException
Specified by:
openDataOutputStream in interface javax.microedition.io.OutputConnection