Java Doc for Msg.java in  » Database-DBMS » db4o-6.4 » com » db4o » internal » cs » messages » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db4o 6.4 » com.db4o.internal.cs.messages 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db4o.internal.cs.messages.Msg

All known Subclasses:   com.db4o.internal.cs.messages.MOK,  com.db4o.internal.cs.messages.MProcessDeletes,  com.db4o.internal.cs.messages.MSwitchToMainFile,  com.db4o.internal.cs.messages.MFailed,  com.db4o.internal.cs.messages.MCommitSystemTransaction,  com.db4o.internal.cs.messages.MIsAlive,  com.db4o.internal.cs.messages.MsgD,  com.db4o.internal.cs.messages.MCloseSocket,  com.db4o.internal.cs.messages.MClose,  com.db4o.internal.cs.messages.MCommit,  com.db4o.internal.cs.messages.MGetThreadID,  com.db4o.internal.cs.messages.MIdentity,  com.db4o.internal.cs.messages.MSuccess,  com.db4o.internal.cs.messages.MCommittedCallBackRegistry,  com.db4o.internal.cs.messages.MPong,  com.db4o.internal.cs.messages.MError,  com.db4o.internal.cs.messages.MVersion,  com.db4o.internal.cs.messages.MPing,  com.db4o.internal.cs.messages.MRollback,  com.db4o.internal.cs.messages.MNull,
Msg
abstract public class Msg implements Cloneable(Code)
Messages for Client/Server Communication


Field Summary
final public static  MClassIDCLASS_ID
    
final public static  MClassMetaCLASS_META
    
final public static  MClassMetadataIdForNameCLASS_METADATA_ID_FOR_NAME
    
final public static  MClassNameForIDCLASS_NAME_FOR_ID
    
final public static  MCloseCLOSE
    
final public static  MCloseSocketCLOSE_SOCKET
    
final public static  MCommitCOMMIT
    
final public static  MCommittedCallBackRegistryCOMMITTED_CALLBACK_REGISTER
    
final public static  MCommittedInfoCOMMITTED_INFO
    
final public static  MCommitSystemTransactionCOMMIT_SYSTEMTRANS
    
final public static  MCreateClassCREATE_CLASS
    
final public static  MVersionCURRENT_VERSION
    
final public static  MDeleteDELETE
    
final public static  MsgBlobDELETE_BLOB_FILE
    
final public static  MErrorERROR
    
final public static  MFailedFAILED
    
final public static  MGetAllGET_ALL
    
final public static  MGetClassesGET_CLASSES
    
final public static  MGetInternalIDsGET_INTERNAL_IDS
    
final public static  MGetThreadIDGET_THREAD_ID
    
final public static  MIdentityIDENTITY
    
final public static  MIDListID_LIST
    
final public static  MIsAliveIS_ALIVE
    
final public static  MLengthLENGTH
    
final public static  MLoginLOGIN
    
final public static  MLoginOKLOGIN_OK
    
final public static  MNullNULL
    
final public static  MObjectSetFetchOBJECTSET_FETCH
    
final public static  MObjectSetFinalizedOBJECTSET_FINALIZED
    
final public static  MObjectSetGetIdOBJECTSET_GET_ID
    
final public static  MObjectSetIndexOfOBJECTSET_INDEXOF
    
final public static  MObjectSetResetOBJECTSET_RESET
    
final public static  MObjectSetSizeOBJECTSET_SIZE
    
final public static  MObjectByUuidOBJECT_BY_UUID
    
final public static  MsgObjectOBJECT_TO_CLIENT
    
final public static  MOKOK
    
final public static  MPingPING
    
final public static  MPongPONG
    
final public static  MPrefetchIDsPREFETCH_IDS
    
final public static  MProcessDeletesPROCESS_DELETES
    
final public static  MQueryExecuteQUERY_EXECUTE
    
final public static  MQueryResultQUERY_RESULT
    
final public static  MRaiseVersionRAISE_VERSION
    
final public static  MReadBlobREAD_BLOB
    
final public static  MReadBytesREAD_BYTES
    
final public static  MReadMultipleObjectsREAD_MULTIPLE_OBJECTS
    
final public static  MReadObjectREAD_OBJECT
    
final public static  MReleaseSemaphoreRELEASE_SEMAPHORE
    
final public static  MRollbackROLLBACK
    
final public static  MRuntimeExceptionRUNTIME_EXCEPTION
    
final public static  MSetSemaphoreSET_SEMAPHORE
    
final public static  MSuccessSUCCESS
    
final public static  MSwitchToFileSWITCH_TO_FILE
    
final public static  MSwitchToMainFileSWITCH_TO_MAIN_FILE
    
final public static  MTaDeleteTA_DELETE
    
final public static  MTaIsDeletedTA_IS_DELETED
    
final public static  MUserMessageUSER_MESSAGE
    
final public static  MUseTransactionUSE_TRANSACTION
    
final public static  MWriteBatchedMessagesWRITE_BATCHED_MESSAGES
    
final public static  MWriteBlobWRITE_BLOB
    
final public static  MWriteNewWRITE_NEW
    
final public static  MWriteUpdateWRITE_UPDATE
    
final public static  MWriteUpdateDeleteMembersWRITE_UPDATE_DELETE_MEMBERS
    
static  int_messageIdGenerator
    
 int_msgID
    
 String_name
    

Constructor Summary
 Msg()
    
 Msg(String aName)
    

Method Summary
final protected  TransactioncheckParentTransaction(Transaction a_trans, Buffer reader)
    
public  ClientMessageDispatcherclientMessageDispatcher()
    
protected  Config4Implconfig()
    
final public  booleanequals(Object obj)
    
protected  LocalObjectContainerfile()
    
public  BuffergetByteLoad()
    
public static  MsggetMessage(int id)
    
final  StringgetName()
    
public  inthashCode()
    
public  voidlogMsg(int msgCode, String msg)
    
public  MessageDispatchermessageDispatcher()
    
public  StatefulBufferpayLoad()
    
final public  MsgpublicClone()
    
final public static  MsgreadMessage(MessageDispatcher messageDispatcher, Transaction trans, Socket4 sock)
    
protected static  StatefulBufferreadMessageBuffer(Transaction trans, Socket4 sock)
    
protected static  StatefulBufferreadMessageBuffer(Transaction trans, Socket4 sock, int length)
    
 MsgreadPayLoad(MessageDispatcher messageDispatcher, Transaction a_trans, Socket4 sock, Buffer reader)
    
public  voidrespondInt(int response)
    
public  ServerMessageDispatcherserverMessageDispatcher()
    
protected  LocalTransactionserverTransaction()
    
public  voidsetMessageDispatcher(MessageDispatcher messageDispatcher)
    
final public  voidsetTransaction(Transaction aTrans)
    
protected  ObjectContainerBasestream()
    
protected  ObjectstreamLock()
    
final public  StringtoString()
    
protected  Transactiontransaction()
    
public  voidwrite(Msg msg)
    
public  booleanwrite(Socket4 sock)
    
public  voidwriteException(RuntimeException e)
    

Field Detail
CLASS_ID
final public static MClassID CLASS_ID(Code)



CLASS_META
final public static MClassMeta CLASS_META(Code)



CLASS_METADATA_ID_FOR_NAME
final public static MClassMetadataIdForName CLASS_METADATA_ID_FOR_NAME(Code)



CLASS_NAME_FOR_ID
final public static MClassNameForID CLASS_NAME_FOR_ID(Code)



CLOSE
final public static MClose CLOSE(Code)



CLOSE_SOCKET
final public static MCloseSocket CLOSE_SOCKET(Code)



COMMIT
final public static MCommit COMMIT(Code)



COMMITTED_CALLBACK_REGISTER
final public static MCommittedCallBackRegistry COMMITTED_CALLBACK_REGISTER(Code)



COMMITTED_INFO
final public static MCommittedInfo COMMITTED_INFO(Code)



COMMIT_SYSTEMTRANS
final public static MCommitSystemTransaction COMMIT_SYSTEMTRANS(Code)



CREATE_CLASS
final public static MCreateClass CREATE_CLASS(Code)



CURRENT_VERSION
final public static MVersion CURRENT_VERSION(Code)



DELETE
final public static MDelete DELETE(Code)



DELETE_BLOB_FILE
final public static MsgBlob DELETE_BLOB_FILE(Code)



ERROR
final public static MError ERROR(Code)



FAILED
final public static MFailed FAILED(Code)



GET_ALL
final public static MGetAll GET_ALL(Code)



GET_CLASSES
final public static MGetClasses GET_CLASSES(Code)



GET_INTERNAL_IDS
final public static MGetInternalIDs GET_INTERNAL_IDS(Code)



GET_THREAD_ID
final public static MGetThreadID GET_THREAD_ID(Code)



IDENTITY
final public static MIdentity IDENTITY(Code)



ID_LIST
final public static MIDList ID_LIST(Code)



IS_ALIVE
final public static MIsAlive IS_ALIVE(Code)



LENGTH
final public static MLength LENGTH(Code)



LOGIN
final public static MLogin LOGIN(Code)



LOGIN_OK
final public static MLoginOK LOGIN_OK(Code)



NULL
final public static MNull NULL(Code)



OBJECTSET_FETCH
final public static MObjectSetFetch OBJECTSET_FETCH(Code)



OBJECTSET_FINALIZED
final public static MObjectSetFinalized OBJECTSET_FINALIZED(Code)



OBJECTSET_GET_ID
final public static MObjectSetGetId OBJECTSET_GET_ID(Code)



OBJECTSET_INDEXOF
final public static MObjectSetIndexOf OBJECTSET_INDEXOF(Code)



OBJECTSET_RESET
final public static MObjectSetReset OBJECTSET_RESET(Code)



OBJECTSET_SIZE
final public static MObjectSetSize OBJECTSET_SIZE(Code)



OBJECT_BY_UUID
final public static MObjectByUuid OBJECT_BY_UUID(Code)



OBJECT_TO_CLIENT
final public static MsgObject OBJECT_TO_CLIENT(Code)



OK
final public static MOK OK(Code)



PING
final public static MPing PING(Code)



PONG
final public static MPong PONG(Code)



PREFETCH_IDS
final public static MPrefetchIDs PREFETCH_IDS(Code)



PROCESS_DELETES
final public static MProcessDeletes PROCESS_DELETES(Code)



QUERY_EXECUTE
final public static MQueryExecute QUERY_EXECUTE(Code)



QUERY_RESULT
final public static MQueryResult QUERY_RESULT(Code)



RAISE_VERSION
final public static MRaiseVersion RAISE_VERSION(Code)



READ_BLOB
final public static MReadBlob READ_BLOB(Code)



READ_BYTES
final public static MReadBytes READ_BYTES(Code)



READ_MULTIPLE_OBJECTS
final public static MReadMultipleObjects READ_MULTIPLE_OBJECTS(Code)



READ_OBJECT
final public static MReadObject READ_OBJECT(Code)



RELEASE_SEMAPHORE
final public static MReleaseSemaphore RELEASE_SEMAPHORE(Code)



ROLLBACK
final public static MRollback ROLLBACK(Code)



RUNTIME_EXCEPTION
final public static MRuntimeException RUNTIME_EXCEPTION(Code)



SET_SEMAPHORE
final public static MSetSemaphore SET_SEMAPHORE(Code)



SUCCESS
final public static MSuccess SUCCESS(Code)



SWITCH_TO_FILE
final public static MSwitchToFile SWITCH_TO_FILE(Code)



SWITCH_TO_MAIN_FILE
final public static MSwitchToMainFile SWITCH_TO_MAIN_FILE(Code)



TA_DELETE
final public static MTaDelete TA_DELETE(Code)



TA_IS_DELETED
final public static MTaIsDeleted TA_IS_DELETED(Code)



USER_MESSAGE
final public static MUserMessage USER_MESSAGE(Code)



USE_TRANSACTION
final public static MUseTransaction USE_TRANSACTION(Code)



WRITE_BATCHED_MESSAGES
final public static MWriteBatchedMessages WRITE_BATCHED_MESSAGES(Code)



WRITE_BLOB
final public static MWriteBlob WRITE_BLOB(Code)



WRITE_NEW
final public static MWriteNew WRITE_NEW(Code)



WRITE_UPDATE
final public static MWriteUpdate WRITE_UPDATE(Code)



WRITE_UPDATE_DELETE_MEMBERS
final public static MWriteUpdateDeleteMembers WRITE_UPDATE_DELETE_MEMBERS(Code)



_messageIdGenerator
static int _messageIdGenerator(Code)



_msgID
int _msgID(Code)



_name
String _name(Code)




Constructor Detail
Msg
Msg()(Code)



Msg
Msg(String aName)(Code)




Method Detail
checkParentTransaction
final protected Transaction checkParentTransaction(Transaction a_trans, Buffer reader)(Code)



clientMessageDispatcher
public ClientMessageDispatcher clientMessageDispatcher()(Code)



config
protected Config4Impl config()(Code)



equals
final public boolean equals(Object obj)(Code)



file
protected LocalObjectContainer file()(Code)



getByteLoad
public Buffer getByteLoad()(Code)
dummy method to allow clean override handling without casting



getMessage
public static Msg getMessage(int id)(Code)



getName
final String getName()(Code)



hashCode
public int hashCode()(Code)



logMsg
public void logMsg(int msgCode, String msg)(Code)



messageDispatcher
public MessageDispatcher messageDispatcher()(Code)



payLoad
public StatefulBuffer payLoad()(Code)



publicClone
final public Msg publicClone()(Code)



readMessage
final public static Msg readMessage(MessageDispatcher messageDispatcher, Transaction trans, Socket4 sock) throws Db4oIOException(Code)



readMessageBuffer
protected static StatefulBuffer readMessageBuffer(Transaction trans, Socket4 sock) throws Db4oIOException(Code)



readMessageBuffer
protected static StatefulBuffer readMessageBuffer(Transaction trans, Socket4 sock, int length) throws Db4oIOException(Code)



readPayLoad
Msg readPayLoad(MessageDispatcher messageDispatcher, Transaction a_trans, Socket4 sock, Buffer reader)(Code)

Parameters:
  sock -



respondInt
public void respondInt(int response)(Code)



serverMessageDispatcher
public ServerMessageDispatcher serverMessageDispatcher()(Code)



serverTransaction
protected LocalTransaction serverTransaction()(Code)



setMessageDispatcher
public void setMessageDispatcher(MessageDispatcher messageDispatcher)(Code)



setTransaction
final public void setTransaction(Transaction aTrans)(Code)



stream
protected ObjectContainerBase stream()(Code)



streamLock
protected Object streamLock()(Code)



toString
final public String toString()(Code)



transaction
protected Transaction transaction()(Code)



write
public void write(Msg msg)(Code)



write
public boolean write(Socket4 sock)(Code)



writeException
public void writeException(RuntimeException e)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.