1
0
Fork 0
Commit Graph

210 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 9cf469c261 misc: Increase portability and initialize at most once
Use the custom "^self basicNew initialize" to create and
initialize the object.
2014-07-24 15:40:10 +02:00
Holger Hans Peter Freyther 9279ed70c1 osmo: Add >>#isConnected to see if the socket is connected right now 2014-07-21 12:48:05 +02:00
Holger Hans Peter Freyther 847c578869 mtp3: Change categories to match Pharo code a bit
Pharo has a lot of changes in the MTP3 code and added M2UA and
other link handling code as well. This should be merged back.
2014-07-15 15:26:52 +02:00
Holger Hans Peter Freyther fc6e258ac0 sccp: Implement connection refused parsing and handling
The code can not parse the optional elements yet.
2014-07-09 13:37:17 +02:00
Holger Hans Peter Freyther cb55eb5dcf osmo: Allow to have a CtrlTrap filter on the message sent as well
This is in preparation for being able to parse notifications.
2014-06-01 20:11:46 +02:00
Holger Hans Peter Freyther 11bb698a0b tlv: Write the tag for conditional elements too
This was found while searching for regressions in the FakeBTS code.
2014-04-19 09:55:19 +02:00
Holger Hans Peter Freyther abbad4a7af tlv: Only write a tag if it was forced or the type is optional 2014-02-09 22:04:04 +01:00
Holger Hans Peter Freyther 564087a32d tlv: Introduce a LV type as well.
This will be used by GSM 04.11 RP-IEs
2014-02-09 14:01:53 +01:00
Holger Hans Peter Freyther 6ddaa3cd5b sccp: GTI means global title indication but we work with GTs
Rename some methods as we work with global titles and not the
global title indication.
2013-11-12 16:09:31 +01:00
Holger Hans Peter Freyther 13eff3cdf9 sccp: Add SSN for the SGSN 2013-11-09 16:11:51 +01:00
Holger Hans Peter Freyther c729a99672 sccp: Kill the encoding and encode the extra 4 bits as 16r0 and not 16rF 2013-10-14 15:04:43 +02:00
Holger Hans Peter Freyther 92add56e05 osmo: Add hostname/port to the error messages 2013-08-19 13:23:36 +02:00
Holger Hans Peter Freyther 108ff0b0b1 isup: Fill out the category encodings from Q.763
These are used by GSM MAP. So specify the encoding here..
2013-08-13 16:27:35 +02:00
Holger Hans Peter Freyther 00826da5db sccp: Merge SCCPAddress>>#createForSSN: from norbert, create a test 2013-07-16 08:13:51 +02:00
Holger Hans Peter Freyther a1b4166cb7 m2ua: Avoid using the the system >>#copyFrom: message
>>#copyFrom: is clashing with the system message and when porting
it will be translated to >>#copyFrom:to: and this is not the right
thing to do.
2013-06-17 15:37:41 +02:00
Holger Hans Peter Freyther 9278fb997c socket: Add methods to access the hostname and port
(Merged from Pharo)
2013-06-17 15:23:54 +02:00
Holger Hans Peter Freyther 4ce74bd5eb socket: Make sure the socket is set to nil at the end of the block 2013-06-17 15:21:07 +02:00
Holger Hans Peter Freyther 6f7e0bcf8d m2ua: Merge the ASP changes from Pharo to GST 2013-06-17 15:15:35 +02:00
Holger Hans Peter Freyther 372c2e0f0b m2ua: Move the code to separate directory to prepare merging with Pharo 2013-06-17 14:19:26 +02:00
Holger Hans Peter Freyther a0eb175b26 m2ua: Add some documentation about the states from Pharo 2013-05-14 17:18:17 +02:00
Holger Hans Peter Freyther f91e5c96aa net: Introduce the OsmoStreamSocketBase connection 2013-05-14 17:09:59 +02:00
Holger Hans Peter Freyther b9d70c018f misc: Improve the test coverage of the OsmoNetwork
Get the >>#parameterName/>>#spec out of the uncovered methods, this
is done by just finding the right classes and calling the selectors.
Add some simple tests for a MessageBuffer method that was not covered
yet.
2013-05-14 14:18:33 +02:00
Holger Hans Peter Freyther 43c5a43e80 pharo: Turn the socket into binary mode 2013-05-13 09:32:52 +02:00
Holger Hans Peter Freyther 4f0b583d1c sccp: Move the SCCPGlobalTitle and SCCPGlobalTitleTranslation to new files
Split out the SCCPGlobalTitle and SCCPGlobalTitleTranslation to new
files and update the Makefile and package.xml for the new file.
2013-04-30 18:39:13 +02:00
Holger Hans Peter Freyther 099d03f1cd sccp: Rename SCCPGTI to SCCPGlobalTitle
Rename it to SCCPGlobalTitle and drop the "indicator" as it is
not an indicator at all.
2013-04-30 18:35:35 +02:00
Holger Hans Peter Freyther e46ebff237 sccp: Rename poi to pointCode and update selectors 2013-04-30 14:40:48 +02:00
Holger Hans Peter Freyther c6f896f645 ipa: Create initializeHandlers for the init 2013-04-29 15:59:30 +02:00
Holger Hans Peter Freyther 529b082c10 ipa: Add a space between the string and the stream id 2013-04-29 15:42:16 +02:00
Holger Hans Peter Freyther 6df7f5e488 ipa: Initialize the handlers if they are null
This avoids classes calling >>#initialize on load to initialize
the instance variable. It is a bit sad. If we would just return
handlers GST could optimize the method better (e.g. avoid calling
it and just return the variable).

We should call it initialize handlers or such. This can be done
in a follow up method.
2013-04-29 15:39:33 +02:00
Holger Hans Peter Freyther 6c8b36319b osmo: Fix the creation of the OsmoAppConnection
Move the variable into the right method.
2013-04-29 12:45:32 +02:00
Holger Hans Peter Freyther 189471a586 osmo: Allow a subclass to change the dispatcher/ipa handler
Allow a subclass to overwrite this method to create a custom
handler. So far one could only register additional handlers but
not change the proto handler completely.
2013-04-29 10:36:21 +02:00
Holger Hans Peter Freyther 3e8d588e9b ipa: Make the handler a variable on the class side
* Making it a classVariable will make subclasses manipulate the
base variable. By making it a variable on the class side avoids
this issue.
2013-04-29 09:53:29 +02:00
Holger Hans Peter Freyther 12bdaf75f6 m2ua: Begin with a M2UA AS and ASP state machine and support code 2013-04-08 08:41:46 +02:00
Holger Hans Peter Freyther 009957dffc mtp3: Introduce some basic structures for MTP3 decoding
This starts to introduce some basic MTP3 message decoding and
encoding using the generic MessageBuffer classes.
2013-04-06 11:40:53 +02:00
Holger Hans Peter Freyther 7ccefaa16e sccp: Do not use abbreviation for variable names
It can help users to understand what we are talking about. This
request was expressed by noha.
2013-04-02 16:59:35 +02:00
Holger Hans Peter Freyther 247205d803 sccp: Move the SCCPAddress to a separate file
Begin with the one class one file pattern and move the SCCPAddress
to a shiny new file.
2013-04-02 16:12:45 +02:00
Holger Hans Peter Freyther 0dd9a2287c ua: Add a testcase for M2UAMSG>>#findTag:ifAbsent:, fix the code
Make the findTag:ifAbent: work. The tag didn't have the isTag
query selector.
2013-04-01 15:08:07 +02:00
Holger Hans Peter Freyther 94498315cb m2ua: Rename to M2UAMSGTest as it tests M2UAMSG
And move it into a new category
2013-04-01 15:03:47 +02:00
Holger Hans Peter Freyther 3423039406 sccp: Fix the SCCPHelper>>#createRLSD.. invocation
This was spotted by the code critics of Pharo. Use the right class
selector to create a Connection Released message.
2013-04-01 15:01:05 +02:00
Holger Hans Peter Freyther a0257331f3 misc: Fix warnings reported by the code critics of Pharo 2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther 5af90bdfd8 isup: Use a different category name for the extensions
These should not show up in a different package
2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther 776dda4070 isup: Do not generate the the MessageType field as it doesn't make sense
There is no ISUPConstants>>#parMessageType so do not generate such
a class.
2013-04-01 09:53:41 +02:00
Holger Hans Peter Freyther 412124646f gst: Fix linting for the category name of the class 2013-03-30 16:40:31 +01:00
Holger Hans Peter Freyther 3746f7ad98 osmo: Make it possible to register on the OsmoAppConnection IPADispatcher
OsmoAppConnection now can call a block registered with >>#onConnect:
to allow modifying the dispatcher. This can be used to register for
the SCCP protocol. Use >>#nextPut:with: to send information through
the muxer.
2013-03-27 19:14:55 +01:00
Holger Hans Peter Freyther db413d1d0f osmo: Improve the connection class for re-connect and process handling
Use the usual rx/tx process handling, re-connect, start/stop
2013-03-27 18:38:11 +01:00
Holger Hans Peter Freyther 75587966d3 osmo: Create a new LogArea for the osmo area. 2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther dd54429310 osmo: Add a way to set the token on the connection 2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther a47c76fc1b osmo: Introduce a subclass for the CTRL handling 2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther 3ae32dfb73 osmo: Move the OsmoAppConnection into the same category as OsmoUDPSocket
These two classes will start to share a base class for the close and
open and creating the processes in the future.
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther b33d07309a ipa: Use String>>#expandMacrosWith: in the IPADispatcher
Make the code just work on Pharo and use the expandMacrosWith extension
for the String from the OsmoCore.
2013-03-27 16:23:05 +01:00