eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SunRPC::XDRCoder':

Home

everywhere
www.exept.de
for:
[back]

Class: XDRCoder (in SunRPC)


Inheritance:

   Object
   |
   +--SunRPC::XDRCoder

Package:
stx:goodies/communication
Category:
Net-Communication-RPC
Version:
rev: 1.15 date: 2009/01/29 17:04:39
user: cg
file: SunRPC_XDRCoder.st directory: goodies/communication
module: stx stc-classLibrary: communication
Author:
Claus Gittinger

Description:




Class protocol:

instance creation
o  from: data

o  new


Instance protocol:

acessing
o  contents
return the data buffered so far

decoding
o  decodeArrayWithType: arrayType

o  decodeBoolean

o  decodeChar

o  decodeInt

o  decodeLong

o  decodeOpaqueWithType: stringType

o  decodeOptionalWithType: optionalType

o  decodeShort

o  decodeStringWithType: stringType

o  decodeStructWithType: structType

o  decodeStructWithType: structType ignoreLast: ignoreLast

o  decodeUnionWithType: unionType

o  decodeUnsignedChar

o  decodeUnsignedInt

o  decodeUnsignedLong

o  decodeUnsignedShort

encoding
o  decodeEnumWithType: enumType

o  encodeArray: anArray type: arrayType with: aParameter

o  encodeBoolean: value with: aParameter

o  encodeChar: value with: aParameter

o  encodeEnum: value type: enumType with: aParameter

o  encodeInt: value with: aParameter

o  encodeLong: value with: aParameter

o  encodeOpaque: value type: opaqueType with: dummyParameter

o  encodeOptional: value type: optionalType with: dummyParameter

o  encodeShort: value with: aParameter

o  encodeString: value type: stringType with: dummyParameter

o  encodeStruct: value type: structType with: dummyParameter

o  encodeStruct: value type: structType with: dummyParameter ignoreLast: ignoreLast

o  encodeUnion: value type: unionType with: dummyParameter

o  encodeUnsignedChar: value with: aParameter

o  encodeUnsignedInt: value with: aParameter

o  encodeUnsignedLong: value with: aParameter

o  encodeUnsignedShort: value with: aParameter

o  encodeVoid: value with: aParameter
nothing encoded for void

initialization
o  initialize

o  initializeFor: data

packing
o  packArray: aCollection using: selector

o  packBool: aBool

o  packDouble: aFloat

o  packEnum: aNumberOrSymbol

o  packFloat: aFloat

o  packHyper: aNumber

o  packInt: aNumber

o  packList: aCollection using: selectorOrBlock

o  packList: aCollection using: selectorOrBlock with: aParameter

o  packOpaque: something

o  packString: aString

o  packUhyper: aLongNumber

o  packUint: aNumber

o  packUnsignedHyper: aLongNumber

o  packUnsignedInt: aNumber

packing - private
o  packFArray: aCollection using: selector

o  packFString: aString

packing-rpc packages
o  packAcceptedReply: hdr

o  packAuth: auth

o  packAuthUnix: authUnix

o  packCallHeader: hdr

o  packDeniedReply: hdr

o  packReplyHeader: hdr

queries
o  atEnd

unpacking
o  unpackArrayUsing: selector

o  unpackBool

o  unpackDouble

o  unpackEnum

o  unpackFloat

o  unpackHyper

o  unpackInt

o  unpackListUsing: selectorOrBlock

o  unpackListUsing: selectorOrBlock with: aParameter

o  unpackOpaque

o  unpackOpaqueBytes: nBytes

o  unpackString

o  unpackUhyper

o  unpackUint

o  unpackUnsignedHyper

o  unpackUnsignedInt

unpacking-rpc packages
o  unpackAuth

o  unpackAuthUnixFrom: opaqueData

o  unpackCallHeader

o  unpackReplyHeader



ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 22:27:36 GMT