endurox-java
 All Classes Namespaces Files Functions Variables Groups Pages
Functions
Adding field to UBF

Functions

native void org.endurox.TypedUbf.Badd (int bfldid, short s)
 
native void org.endurox.TypedUbf.Badd (int bfldid, long l)
 
native void org.endurox.TypedUbf.Badd (int bfldid, byte c)
 
native void org.endurox.TypedUbf.Badd (int bfldid, float f)
 
native void org.endurox.TypedUbf.Badd (int bfldid, double d)
 
native void org.endurox.TypedUbf.Badd (int bfldid, String s)
 
native void org.endurox.TypedUbf.Badd (int bfldid, byte[]b)
 

Detailed Description

Add field to UBF buffer. Group of methods for different data types.

Parameters
bfldidcompiled field id
Exceptions
UbfBALIGNERRExceptionInvalid Buffer
UbfBNOTFLDExceptionInvalid Buffer
UbfBNOSPACEExceptionNo space in buffer

Function Documentation

native void org.endurox.TypedUbf.Badd ( int  bfldid,
short  s 
)

Add short value to UBF buffer

Parameters
bfldidcompiled field id
sshort value
native void org.endurox.TypedUbf.Badd ( int  bfldid,
long  l 
)

Add long value to UBF

Parameters
bfldidcompiled field id
llong value
native void org.endurox.TypedUbf.Badd ( int  bfldid,
byte  c 
)

Add byte (ANSI Char) to UBF

Parameters
bfldidcompiled field id
cANSI char value / Java byte
native void org.endurox.TypedUbf.Badd ( int  bfldid,
float  f 
)

Set float value to buffer

Parameters
bfldidcompiled field id
ffloat value
native void org.endurox.TypedUbf.Badd ( int  bfldid,
double  d 
)

Set Double value to buffer

Parameters
bfldidfield id
ddouble value
native void org.endurox.TypedUbf.Badd ( int  bfldid,
String  s 
)

Add string to UBF buffer

Parameters
bfldidfield id
sString value
native void org.endurox.TypedUbf.Badd ( int  bfldid,
byte[]  b 
)

Add byte array to UBF buffer

Parameters
bfldidfield id
bbyte array