ants.p2p.security.sockets
Interface SecureClientSocket
- All Known Implementing Classes:
- SecureP2PClientSocket
public interface SecureClientSocket
isNewVersionDetected
boolean isNewVersionDetected()
getNewerVersion
java.lang.String getNewerVersion()
getTimeElapsed
long getTimeElapsed()
getCipherEnc
javax.crypto.Cipher getCipherEnc()
getCipherDec
javax.crypto.Cipher getCipherDec()
getLocalServerPort
int getLocalServerPort()
getInputStream
java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException
isClosed
boolean isClosed()
getInetAddress
java.net.InetAddress getInetAddress()
getPort
int getPort()
getSocket
java.net.Socket getSocket()