Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

mobile.jmsapi
Class Id_class  view Id_class download Id_class.java

java.lang.Object
  extended bymobile.jmsapi.Id_class
All Implemented Interfaces:
mobile.bearer.http.Protocol
Direct Known Subclasses:
Connection, Consumer, Destination, MesgPropTest, Message, MessageProperty, Producer, QueueConnectionFactory, Session, TopicConnectionFactory

public abstract class Id_class
extends java.lang.Object
implements mobile.bearer.http.Protocol

This is parent class for all classes in the jmsapi package.


Field Summary
 int id
           
private static java.util.Vector instances
           Represents vector of created instances of this class
 
Fields inherited from interface mobile.bearer.http.Protocol
ACKNOWLEDGE_MESSAGE, CLOSE_CONNECTION, CLOSE_MESSAGE_CONSUMER, CLOSE_MESSAGE_PRODUCER, COMMIT, CREATE_CONNECTION, CREATE_DURABLE_CONSUMER, CREATE_DURABLE_TOPIC_SUBSCRIBER, CREATE_QUEUE_CONNECTION, CREATE_QUEUE_RECEIVER, CREATE_QUEUE_SENDER, CREATE_QUEUE_SESSION, CREATE_RECEIVER, CREATE_SENDER, CREATE_SESSION, CREATE_TEMPORARY_DESTINATION, CREATE_TEMPORARY_QUEUE, CREATE_TEMPORARY_TOPIC, CREATE_TOPIC_CONNECTION, CREATE_TOPIC_PUBLISHER, CREATE_TOPIC_SESSION, CREATE_TOPIC_SUBSCRIBER, DELETE_TEMPORARY_DESTINATION, DELETE_TEMPORARY_QUEUE, DELETE_TEMPORARY_TOPIC, EXC_INVALID_DESTINATION, EXC_NAMING, EXC_OTHER, EXC_RESOURCE_ALLOCATION, INT_LEN, LONG_LEN, LOOKUP, MAX_BYTES_LEN, PUBLISH_BYTES_MESSAGE, PUBLISH_TEXT_MESSAGE, QUEUE, RECEIVE_MESSAGE, RECEIVE_MESSAGE_FROM_QUEUE, RECEIVE_MESSAGE_FROM_TOPIC, RECEIVE_MESSAGE_TIMEOUT, REP_BYTES_MESSAGE, REP_BYTES_MESSAGE_FROM_QUEUE, REP_BYTES_MESSAGE_FROM_TOPIC, REP_CONNECTION, REP_CONNECTION_FACTORY, REP_DURABLE_TOPIC_SUBSCRIBER, REP_QUEUE, REP_QUEUE_CONNECTION, REP_QUEUE_CONNECTION_FACTORY, REP_QUEUE_RECEIVER, REP_QUEUE_SENDER, REP_QUEUE_SESSION, REP_RECEIVER, REP_SENDER, REP_SESSION, REP_TEMPORARY_DESTINATION, REP_TEMPORARY_QUEUE, REP_TEMPORARY_TOPIC, REP_TEXT_MESSAGE, REP_TEXT_MESSAGE_FROM_QUEUE, REP_TEXT_MESSAGE_FROM_TOPIC, REP_TOPIC, REP_TOPIC_CONNECTION, REP_TOPIC_CONNECTION_FACTORY, REP_TOPIC_PUBLISHER, REP_TOPIC_SESSION, REP_TOPIC_SUBSCRIBER, ROLLBACK, SEND_BYTES_MESSAGE, SEND_TEXT_MESSAGE, START_CONNECTION, STOP_CONNECTION, TEMPRORARY, TOPIC
 
Constructor Summary
(package private) Id_class()
           
 
Method Summary
static Id_class getObject(int _id)
           Find an object of this class with a specified id.
protected  void log(java.lang.String s)
           
protected  mobile.protocol.Reply request(int _code)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(int _code, java.lang.Object obj1)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(int _code, java.lang.Object obj1, java.lang.Object obj2)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(int _code, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(int _code, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3, java.lang.Object obj4)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(int _code, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3, java.lang.Object obj4, java.lang.Object obj5)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  mobile.protocol.Reply request(mobile.protocol.Request req)
           call a Library.getRequestManager().processRequest() method, with proper atributes
protected  boolean strToBool(java.lang.String str)
           
protected  long strToLong(java.lang.String str)
           
protected abstract  int TYPE_MASK()
           "subclass responsibility" method - should return QUEUE in QueueSession and TOPIC in TopicSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

private static java.util.Vector instances

Represents vector of created instances of this class


id

public int id
Constructor Detail

Id_class

Id_class()
Method Detail

log

protected void log(java.lang.String s)

TYPE_MASK

protected abstract int TYPE_MASK()

"subclass responsibility" method - should return QUEUE in QueueSession and TOPIC in TopicSession


request

protected mobile.protocol.Reply request(int _code)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(mobile.protocol.Request req)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(int _code,
                                        java.lang.Object obj1)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(int _code,
                                        java.lang.Object obj1,
                                        java.lang.Object obj2)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(int _code,
                                        java.lang.Object obj1,
                                        java.lang.Object obj2,
                                        java.lang.Object obj3)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(int _code,
                                        java.lang.Object obj1,
                                        java.lang.Object obj2,
                                        java.lang.Object obj3,
                                        java.lang.Object obj4)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


request

protected mobile.protocol.Reply request(int _code,
                                        java.lang.Object obj1,
                                        java.lang.Object obj2,
                                        java.lang.Object obj3,
                                        java.lang.Object obj4,
                                        java.lang.Object obj5)
                                 throws java.lang.Throwable

call a Library.getRequestManager().processRequest() method, with proper atributes


getObject

public static Id_class getObject(int _id)

Find an object of this class with a specified id. id atribute is unique among all instances of this class and it's subclasses


strToLong

protected long strToLong(java.lang.String str)

strToBool

protected boolean strToBool(java.lang.String str)