APIdia Launch Partner
Top Description Fields Constructors Methods
sun.nio.ch.sctp

public Class ResultContainer

extends Object
Class Inheritance
Imports
java.lang.annotation.Native

Wraps the actual message or notification so that it can be set and returned from the native receive implementation.

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
private int
private Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv AssociationChange
pack-priv MessageInfoImpl
pack-priv PeerAddrChange
pack-priv SendFailed
pack-priv Shutdown
pack-priv boolean
pack-priv boolean
pack-priv SctpNotification
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv int
type()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

ASSOCIATION_CHANGEDback to summary
pack-priv static final int ASSOCIATION_CHANGED
Annotations
@Native
MESSAGEback to summary
pack-priv static final int MESSAGE
Annotations
@Native
NOTHINGback to summary
pack-priv static final int NOTHING
Annotations
@Native
PEER_ADDRESS_CHANGEDback to summary
pack-priv static final int PEER_ADDRESS_CHANGED
Annotations
@Native
SEND_FAILEDback to summary
pack-priv static final int SEND_FAILED
Annotations
@Native
SHUTDOWNback to summary
pack-priv static final int SHUTDOWN
Annotations
@Native
typeback to summary
private int type
valueback to summary
private Object value

Constructor Detail

ResultContainerback to summary
public ResultContainer()

Method Detail

clearback to summary
pack-priv void clear()
getAssociationChangedback to summary
pack-priv AssociationChange getAssociationChanged()
getMessageInfoback to summary
pack-priv MessageInfoImpl getMessageInfo()
getPeerAddressChangedback to summary
pack-priv PeerAddrChange getPeerAddressChanged()
getSendFailedback to summary
pack-priv SendFailed getSendFailed()
getShutdownback to summary
pack-priv Shutdown getShutdown()
hasSomethingback to summary
pack-priv boolean hasSomething()
isNotificationback to summary
pack-priv boolean isNotification()
notificationback to summary
pack-priv SctpNotification notification()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
typeback to summary
pack-priv int type()