|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.connection.AbstractConnection
org.netbeans.lib.cvsclient.connection.ExtConnection
public class ExtConnection
Provides support for the :ext: connection method.
Constructor Summary | |
---|---|
ExtConnection(java.lang.String command)
Creates new EXT connection method support class. |
Method Summary | |
---|---|
void |
close()
Close the connection with the server |
int |
getPort()
Get the port number, which this connection is actually using. |
boolean |
isOpen()
Returns true to indicate that the connection was successfully established. |
void |
modifyInputStream(ConnectionModifier modifier)
Modify the underlying inputstream |
void |
modifyOutputStream(ConnectionModifier modifier)
Modify the underlying outputstream |
void |
open()
Open a connection with the server. |
void |
verify()
Verify a cnnection with the server. |
Methods inherited from class org.netbeans.lib.cvsclient.connection.AbstractConnection |
---|
getInputStream, getOutputStream, getRepository, setInputStream, setOutputStream, setRepository, verifyProtocol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtConnection(java.lang.String command)
command
- command to executeMethod Detail |
---|
public void open() throws AuthenticationException, CommandAbortedException
Connection
AuthenticationException
CommandAbortedException
public void verify() throws AuthenticationException
Connection
AuthenticationException
public void close() throws java.io.IOException
Connection
java.io.IOException
public boolean isOpen()
Connection
public int getPort()
Connection
public void modifyInputStream(ConnectionModifier modifier) throws java.io.IOException
Connection
modifier
- the connection modifier that performs the modifications
java.io.IOException
- if an error occurs modifying the streamspublic void modifyOutputStream(ConnectionModifier modifier) throws java.io.IOException
Connection
modifier
- the connection modifier that performs the modifications
java.io.IOException
- if an error occurs modifying the streams
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |