com.sun.spot.interisolate
Class NumberReplyEnvelope
java.lang.Object
com.sun.squawk.io.mailboxes.Envelope
com.sun.spot.interisolate.ReplyEnvelope
com.sun.spot.interisolate.NumberReplyEnvelope
public class NumberReplyEnvelope
- extends ReplyEnvelope
- See Also:
for details
This class allows long values to be returned from inter-isolate RPC calls.
NumberReplyEnvelope
public NumberReplyEnvelope(int requestUid,
long val)
getContents
public Object getContents()
- Description copied from class:
Envelope
- Return the contents of the envelope. This should only be called by the receiver of the
envelope. All implementations should call checkCallContext.
- Specified by:
getContents
in class Envelope
- Returns:
- the contents of the envelope
getLongContents
public long getLongContents()
getIntContents
public int getIntContents()
getShortContents
public short getShortContents()
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.