[]Struct jni_android_sys::javax::net::ssl::SSLSocket

#[repr(transparent)]
pub struct SSLSocket(_);

public class SSLSocket

Required feature: "javax-net-ssl-SSLSocket"

Methods

impl SSLSocket

pub fn getSupportedCipherSuites<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getSupportedCipherSuites

Required features: "java-lang-String"

pub fn getEnabledCipherSuites<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getEnabledCipherSuites

Required features: "java-lang-String"

pub fn setEnabledCipherSuites<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEnabledCipherSuites

Required features: "java-lang-String"

pub fn getSupportedProtocols<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getSupportedProtocols

Required features: "java-lang-String"

pub fn getEnabledProtocols<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getEnabledProtocols

Required features: "java-lang-String"

pub fn setEnabledProtocols<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEnabledProtocols

Required features: "java-lang-String"

pub fn getSession<'env>(
    &'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]

getSession

Required features: "javax-net-ssl-SSLSession"

pub fn getHandshakeSession<'env>(
    &'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]

getHandshakeSession

Required features: "javax-net-ssl-SSLSession"

pub fn addHandshakeCompletedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addHandshakeCompletedListener

Required features: "javax-net-ssl-HandshakeCompletedListener"

pub fn removeHandshakeCompletedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeHandshakeCompletedListener

Required features: "javax-net-ssl-HandshakeCompletedListener"

pub fn startHandshake<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn setUseClientMode<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getUseClientMode<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setNeedClientAuth<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getNeedClientAuth<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setWantClientAuth<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getWantClientAuth<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setEnableSessionCreation<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getEnableSessionCreation<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getSSLParameters<'env>(
    &'env self
) -> Result<Option<Local<'env, SSLParameters>>, Local<'env, Throwable>>
[src]

getSSLParameters

Required features: "javax-net-ssl-SSLParameters"

pub fn setSSLParameters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SSLParameters>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSSLParameters

Required features: "javax-net-ssl-SSLParameters"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

Methods from Deref<Target = Socket>

pub fn connect_SocketAddress<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
[src]

connect

Required features: "java-net-SocketAddress"

pub fn connect_SocketAddress_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SocketAddress>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

connect

Required features: "java-net-SocketAddress"

pub fn bind<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
[src]

bind

Required features: "java-net-SocketAddress"

pub fn getInetAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]

getInetAddress

Required features: "java-net-InetAddress"

pub fn getLocalAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]

getLocalAddress

Required features: "java-net-InetAddress"

pub fn getPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getLocalPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getRemoteSocketAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
[src]

getRemoteSocketAddress

Required features: "java-net-SocketAddress"

pub fn getLocalSocketAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
[src]

getLocalSocketAddress

Required features: "java-net-SocketAddress"

pub fn getChannel<'env>(
    &'env self
) -> Result<Option<Local<'env, SocketChannel>>, Local<'env, Throwable>>
[src]

getChannel

Required features: "java-nio-channels-SocketChannel"

pub fn getInputStream<'env>(
    &'env self
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]

getInputStream

Required features: "java-io-InputStream"

pub fn getOutputStream<'env>(
    &'env self
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
[src]

getOutputStream

Required features: "java-io-OutputStream"

pub fn setTcpNoDelay<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getTcpNoDelay<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setSoLinger<'env>(
    &'env self,
    arg0: bool,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSoLinger<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn sendUrgentData<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setOOBInline<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getOOBInline<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setSoTimeout<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSoTimeout<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setSendBufferSize<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSendBufferSize<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setReceiveBufferSize<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReceiveBufferSize<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setKeepAlive<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getKeepAlive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setTrafficClass<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getTrafficClass<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setReuseAddress<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReuseAddress<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn shutdownInput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn shutdownOutput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn isConnected<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isBound<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isClosed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isInputShutdown<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn isOutputShutdown<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setPerformancePreferences<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Trait Implementations

impl AsJValue for SSLSocket

impl AsValidJObjectAndEnv for SSLSocket

impl Deref for SSLSocket

type Target = Socket

The resulting type after dereferencing.

impl JniType for SSLSocket

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.