Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


SSLEngineResultjavax.net.ssl

Java 5.0

An
object of this type is returned by the wrap( ) and
unwrap( ) methods of an
SSLEngine. Use the methods of this object to
determine how much data was consumed and produced and to obtain the
Status of the operation and the
HandshakeStatus of the connection. These two
nested enumerated types return important values. Correct operation of
an SSLEngine requires that your code respond
correctly to the Status and
HandshakeStatus results.

public class

SSLEngineResult {
// Public Constructors
public

SSLEngineResult (SSLEngineResult.Status

status , SSLEngineResult.
HandshakeStatus

handshakeStatus ,
int

bytesConsumed , int

bytesProduced );
// Nested Types
public enum

HandshakeStatus ;
public enum

Status ;
// Public Instance Methods
public final int

bytesConsumed ( );
public final int

bytesProduced ( );
public final SSLEngineResult.HandshakeStatus

getHandshakeStatus ( );
public final SSLEngineResult.Status

getStatus ( );
// Public Methods Overriding Object
public String

toString ( );
}


Returned By


SSLEngine.{unwrap( ), wrap( )}


    / 1191