public class ExtConnection extends AbstractConnection
| Constructor and Description |
|---|
ExtConnection(java.lang.String command)
Creates new EXT connection method support class.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getInputStream, getOutputStream, getRepository, setRepositorypublic ExtConnection(java.lang.String command)
command - command to executepublic void open()
throws AuthenticationException,
CommandAbortedException
Connectionpublic void verify()
throws AuthenticationException
ConnectionAuthenticationExceptionpublic void close()
throws java.io.IOException
Connectionjava.io.IOExceptionpublic boolean isOpen()
Connectionpublic int getPort()
Connectionpublic void modifyInputStream(ConnectionModifier modifier) throws java.io.IOException
Connectionmodifier - the connection modifier that performs the modificationsjava.io.IOException - if an error occurs modifying the streamspublic void modifyOutputStream(ConnectionModifier modifier) throws java.io.IOException
Connectionmodifier - the connection modifier that performs the modificationsjava.io.IOException - if an error occurs modifying the streams