Remove unused MeshChat

This commit is contained in:
Marco Pesenti Gritti 2006-08-26 12:56:40 +02:00
parent 8ab45f697d
commit 4f3e3a290c
2 changed files with 0 additions and 16 deletions

View File

@ -10,7 +10,6 @@ sugar_PYTHON = \
ChatToolbar.py \ ChatToolbar.py \
Emoticons.py \ Emoticons.py \
GroupChat.py \ GroupChat.py \
MeshChat.py \
richtext.py richtext.py
EXTRA_DIST = \ EXTRA_DIST = \

View File

@ -1,15 +0,0 @@
from sugar.chat.GroupChat import GroupChat
from sugar.presence.Service import Service
import sugar.env
class MeshChat(GroupChat):
SERVICE_TYPE = "_olpc_mesh_chat._udp"
SERVICE_ADDRESS = "232.5.5.5"
SERVICE_PORT = 6301
def __init__(self):
GroupChat.__init__(self)
service = Service(sugar.env.get_nick_name(), MeshChat.SERVICE_TYPE,
'local', MeshChat.SERVICE_ADDRESS, MeshChat.SERVICE_PORT)
self._setup_stream(service)