Code example for SSLSocket

Methods: getInputStream

0
		} 
	} 
 
	public InputStream getInputStream() throws TransportException {
		try { 
			return sslSocket.getInputStream();
		} catch (Exception e) {
			e.printStackTrace();
			throw new TransportException("Problems getting the transport input stream: " + e.getMessage());
		} 
	} 
 
	public OutputStream getOutputStream() throws TransportException {
		try { 
			return sslSocket.getOutputStream();
		} catch (Exception e) {
			e.printStackTrace();
			throw new TransportException("Problems getting the transport output stream: " + e.getMessage());
		} 
	} 
}