endurox-java
Public Member Functions | List of all members
org.endurox.TypedString Class Reference

Public Member Functions

 TypedString (AtmiCtx ctx, boolean doFinalize, long cPtr, long len)
 
native void setString (String str)
 
native String getString ()
 
- Public Member Functions inherited from org.endurox.TypedBuffer
native void tprealloc (long size)
 
 TypedBuffer (AtmiCtx ctx, boolean doFinalize, long cPtr, long len)
 
void setAtmiCtx (AtmiCtx ctx)
 
void cleanup ()
 
void setDoFinalize (boolean b)
 
native TpTypesResult tptypes ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.endurox.TypedBuffer
void finalize () throws Throwable
 

Detailed Description

Typed string. Holds the string value

Constructor & Destructor Documentation

◆ TypedString()

org.endurox.TypedString.TypedString ( AtmiCtx  ctx,
boolean  doFinalize,
long  cPtr,
long  len 
)

Initialize String buffer

Parameters
ctx[in]ATMI Context allocated this method
doFinalize[in]Should
cPtr[in]C pointer to allocated block
len[in]Conditional buffer length

Member Function Documentation

◆ getString()

native String org.endurox.TypedString.getString ( )

Get string value from buffer

Returns
string value read

◆ setString()

native void org.endurox.TypedString.setString ( String  str)

Install string value

Parameters
strNew value to set in string buffer