xmlBlaster 1.6.4 client API

org.xmlBlaster.client.activex
Class UpdateEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.xmlBlaster.client.activex.UpdateEvent
All Implemented Interfaces:
java.io.Serializable

public class UpdateEvent
extends java.util.EventObject

Event object used to transport a callback message back to ActiveX (C#, VisualBasic).

Author:
Marcel Ruff
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UpdateEvent(java.lang.Object source, java.lang.String cbSessionId, UpdateKey key, byte[] content, UpdateQos qos)
           
 
Method Summary
 java.lang.String getCbSessionId()
           
 byte[] getContent()
          NOTE: Passing byte[] seems to be broken with Java bridge! If you have binary data use #getContentBase64() as a work around you need to decode it yourself in Basic/C#.
If you have a string content (like xml markup) you can call #getContentStr() directly.
 java.lang.String getContentBase64()
          Access binary content encoded with Base64.
 int getContentLength()
           
 java.lang.String getContentStr()
           
 UpdateKey getKey()
           
 UpdateQos getQos()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateEvent

public UpdateEvent(java.lang.Object source,
                   java.lang.String cbSessionId,
                   UpdateKey key,
                   byte[] content,
                   UpdateQos qos)
Method Detail

getCbSessionId

public java.lang.String getCbSessionId()

getKey

public UpdateKey getKey()

getContent

public byte[] getContent()
NOTE: Passing byte[] seems to be broken with Java bridge! If you have binary data use #getContentBase64() as a work around you need to decode it yourself in Basic/C#.
If you have a string content (like xml markup) you can call #getContentStr() directly.

See Also:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4887461

getContentStr

public java.lang.String getContentStr()

getContentLength

public int getContentLength()

getContentBase64

public java.lang.String getContentBase64()
Access binary content encoded with Base64.


getQos

public UpdateQos getQos()

xmlBlaster 1.6.4 client API

Copyright © 1999-2008 The xmlBlaster.org contributers.