summaryrefslogtreecommitdiff
path: root/java/common
Commit message (Collapse)AuthorAgeFilesLines
...
* changed method public void processed(Range range) for flushing when flush ↵Arnaud Simon2007-11-081-1/+1
| | | | | | is true git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593153 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-639: c++ now includes sizes for all structs (enabled the same ↵Gordon Sim2007-11-072-2/+2
| | | | | | in python & java) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@592895 13f79535-47bb-0310-9956-ffa450edef68
* Changed for synchronizing on results during close operationArnaud Simon2007-11-051-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@591953 13f79535-47bb-0310-9956-ffa450edef68
* cahnged for handling IO write errorsArnaud Simon2007-10-232-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@587476 13f79535-47bb-0310-9956-ffa450edef68
* changed to handle empty payload messagesArnaud Simon2007-10-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@586027 13f79535-47bb-0310-9956-ffa450edef68
* deleted useless codeArnaud Simon2007-10-171-592/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585467 13f79535-47bb-0310-9956-ffa450edef68
* Updated message selectorArnaud Simon2007-10-1711-2060/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585461 13f79535-47bb-0310-9956-ffa450edef68
* Updated message selectorArnaud Simon2007-10-171-19/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585458 13f79535-47bb-0310-9956-ffa450edef68
* Updated message selectorArnaud Simon2007-10-1710-61/+270
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585457 13f79535-47bb-0310-9956-ffa450edef68
* added a bit of API around MinaHandlerRafael H. Schloming2007-10-172-34/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585453 13f79535-47bb-0310-9956-ffa450edef68
* work around MINA close issuesRafael H. Schloming2007-10-171-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585452 13f79535-47bb-0310-9956-ffa450edef68
* removed unused fieldsRafael H. Schloming2007-10-149-51/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584499 13f79535-47bb-0310-9956-ffa450edef68
* Enabled packed struct encoding in python, cpp, and java. Also fixed ↵Rafael H. Schloming2007-10-149-131/+340
| | | | | | computation of required byte credit in Message.cpp. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584474 13f79535-47bb-0310-9956-ffa450edef68
* added Boolean to the default encoding mapRafael H. Schloming2007-10-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584136 13f79535-47bb-0310-9956-ffa450edef68
* made the session usable from multiple threads (hopefully)Rafael H. Schloming2007-10-101-18/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583567 13f79535-47bb-0310-9956-ffa450edef68
* added support (currently disabled) for packed encodingRafael H. Schloming2007-10-109-85/+296
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583468 13f79535-47bb-0310-9956-ffa450edef68
* Removed system.outs and replaced with log statementsRajith Muditha Attapattu2007-10-102-14/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583351 13f79535-47bb-0310-9956-ffa450edef68
* don't wait for results if the session is closed, also added missing ↵Rafael H. Schloming2007-10-051-13/+35
| | | | | | synchronization for flushProcessed(), and fixed a buggy log statement git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@582320 13f79535-47bb-0310-9956-ffa450edef68
* disabled MINA buffer poolingRafael H. Schloming2007-10-051-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@582269 13f79535-47bb-0310-9956-ffa450edef68
* replaced random printlns with strategically placed log statements, also ↵Rafael H. Schloming2007-10-0517-65/+360
| | | | | | added useful toString() for structs git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@582065 13f79535-47bb-0310-9956-ffa450edef68
* moved codec --> transport.codec to avoid conflicts with qpid namespaceRafael H. Schloming2007-10-0413-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581973 13f79535-47bb-0310-9956-ffa450edef68
* Changed to send message ack when requiredArnaud Simon2007-10-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581912 13f79535-47bb-0310-9956-ffa450edef68
* Changed to use message.recover instead of message.releaseArnaud Simon2007-10-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581589 13f79535-47bb-0310-9956-ffa450edef68
* applied patch from gsim to fix order of bit decodingRafael H. Schloming2007-10-031-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581571 13f79535-47bb-0310-9956-ffa450edef68
* fixed encoding of b/e bits and handling of max frame sizeRafael H. Schloming2007-10-035-15/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581469 13f79535-47bb-0310-9956-ffa450edef68
* error checking for field table decode, actually close sessions on session ↵Rafael H. Schloming2007-10-013-4/+41
| | | | | | close, and maintain cummulative mark in session git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581056 13f79535-47bb-0310-9956-ffa450edef68
* fixed codec of UUIDsRafael H. Schloming2007-09-272-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@579863 13f79535-47bb-0310-9956-ffa450edef68
* improved close handling, made session.sync() return on session closeRafael H. Schloming2007-09-253-1/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@579040 13f79535-47bb-0310-9956-ffa450edef68
* switched to one byte for class/method idsRafael H. Schloming2007-09-242-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578891 13f79535-47bb-0310-9956-ffa450edef68
* added a mapping for byte[]sRafael H. Schloming2007-09-242-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578864 13f79535-47bb-0310-9956-ffa450edef68
* added field table encoding/decodingRafael H. Schloming2007-09-2415-107/+736
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578827 13f79535-47bb-0310-9956-ffa450edef68
* rerun generate script when it is modifiedRafael H. Schloming2007-09-241-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578826 13f79535-47bb-0310-9956-ffa450edef68
* added back access ticket to the encode/decode methodsRafael H. Schloming2007-09-201-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577827 13f79535-47bb-0310-9956-ffa450edef68
* added frame-end constantRafael H. Schloming2007-09-202-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577785 13f79535-47bb-0310-9956-ffa450edef68
* merged the qpidity.url classes in to qpid.url and deleted qpidity.urlRajith Muditha Attapattu2007-09-196-271/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577464 13f79535-47bb-0310-9956-ffa450edef68
* added messageAcquire method Arnaud Simon2007-09-191-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577330 13f79535-47bb-0310-9956-ffa450edef68
* forgot to dispatch non L4 methods inside SessionDelegateRafael H. Schloming2007-09-191-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577323 13f79535-47bb-0310-9956-ffa450edef68
* * ProtocolEvent.Switch --> ProtocolDelegateRafael H. Schloming2007-09-1714-121/+121
| | | | | | | | | | * Delegate --> MethodDelegate * Added method dispatching as a separate delegation level to the hierarchy underneath ProtocolDelegate. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@576587 13f79535-47bb-0310-9956-ffa450edef68
* Took out the URL parsing logic from the AMQConnectionURL and moved in two ↵Rajith Muditha Attapattu2007-09-141-2/+3
| | | | | | | | | | | | | | | | | | Parser classes. The Connection Type (0-8 or 0-10) is decided based on the URL scheme if AMQConnection is created by passing a URL. In other cases it will be based on a jvm switch. Other constructors in AMQConnection internally constructs an 0-8 URL and call the constrcutor with a URL. In that case it is difficult to figure out the type of connection with out additional information. The additional information commes in the form of the following jvm arguments SwitchCon - enables this switch 0-10 - creates an 0-10 connection and the absence of it creates an 0-8 connection This was done to minimize any impact on the test code. currently only one code path can be tested at a given time. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@575789 13f79535-47bb-0310-9956-ffa450edef68
* * moved most of the classes in the org.apache.qpidity package toRafael H. Schloming2007-09-1357-1514/+1350
| | | | | | | | | | | | | | | | | | | | org.apache.qpidity.transport * factored out the network specific pieces into org.apache.qpidity.transport * moved the mina specific code to org.apache.qpidity.transport.network.mina * replaced the handler chain with Sender/Receiver chains that can deal with close request/closed notifications * moved from an anonymous struct[] to a real Header class * removed an excess copy from message data transmit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@575474 13f79535-47bb-0310-9956-ffa450edef68
* Remerge of M2. All tests pass locallyMartin Ritchie2007-08-305-33/+103
| | | | | | | | | | | | | | | | Testing done in Intelij and mvn command line via windows/cygwin. Python tests removed from auto build pending Jython-siztion. Tested running broker in intelij and python run-tests from cygwin. All tests pass. (CombinedTest still exhibts a race condition. but that has always been so.) Additional Race condition identified (around MsgReject/AutoDeleteQueues) during testing patch to follow. systests are inconsistent Some use TestableMemoryMessageStore some use MemoryMessgaeStore. Lets not roll back this change if issues are discovered. Lets work together to go forward and address any issues. I have spent a lot of time ensuring the tests work for me so I hope that they work for you. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@571129 13f79535-47bb-0310-9956-ffa450edef68
* Added basic test case to test JMSRajith Muditha Attapattu2007-08-248-37/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@569547 13f79535-47bb-0310-9956-ffa450edef68
* moved Encoder, Decoder and related classes into the codec sub-packageRafael H. Schloming2007-08-2317-21/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@569045 13f79535-47bb-0310-9956-ffa450edef68
* updated from M2 branchArnaud Simon2007-08-231-17/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568950 13f79535-47bb-0310-9956-ffa450edef68
* Updated XIDArnaud Simon2007-08-221-0/+268
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568536 13f79535-47bb-0310-9956-ffa450edef68
* added Constant interface generation Arnaud Simon2007-08-211-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568055 13f79535-47bb-0310-9956-ffa450edef68
* Updated QpidURL scheme Arnaud Simon2007-08-204-349/+411
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567627 13f79535-47bb-0310-9956-ffa450edef68
* wrote a parser for the new URL formatRajith Muditha Attapattu2007-08-173-15/+431
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567174 13f79535-47bb-0310-9956-ffa450edef68
* added destination URL handling Arnaud Simon2007-08-175-3/+444
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567047 13f79535-47bb-0310-9956-ffa450edef68
* Added clearData() and getTransferId() to the Message interfaceRajith Muditha Attapattu2007-08-152-4/+56
| | | | | | | | Added Java doc git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@566155 13f79535-47bb-0310-9956-ffa450edef68