smalltalk
/
osmo-st-msc
Archived
1
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
osmo-st-msc/Server.st

33 lines
686 B
Smalltalk

PackageLoader fileInPackage: 'OsmoNetwork'.
PackageLoader fileInPackage: 'OsmoLogging'.
Object subclass: IPAConnection [
| socket bsc rx tx |
<comment: 'I represent one Connection to a BSC. I have virtual
connections hanging off my tree and I will destroy them when my connection
is going away.'>
IPAConnection class >> createOn: aSocket [
]
]
Object subclass: IPAServer [
| socket addr port |
IPAServer class >> listenOn: anAddr port: aPort [
^ (self new)
addr: anAddr port: aPort.
]
addr: anAddr port: aPort [
<category: 'configure'>
addr := anAddr.
port := aPort.
]
listen [
]
]