org.universAAL.ri.gateway.communicator.service.impl
Class SocketCommunicationHandler

Package class diagram package SocketCommunicationHandler
java.lang.Object
  extended by org.universAAL.ri.gateway.communicator.service.impl.SocketCommunicationHandler
All Implemented Interfaces:
CommunicationHandler

public class SocketCommunicationHandler
extends Object
implements CommunicationHandler


Constructor Summary
SocketCommunicationHandler(GatewayCommunicator communicator)
           
 
Method Summary
 MessageWrapper sendMessage(MessageWrapper toSend, URL target)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketCommunicationHandler

public SocketCommunicationHandler(GatewayCommunicator communicator)
Method Detail

start

public void start()
           throws IOException
Specified by:
start in interface CommunicationHandler
Throws:
IOException

sendMessage

public MessageWrapper sendMessage(MessageWrapper toSend,
                                  URL target)
                           throws IOException,
                                  ClassNotFoundException,
                                  org.bouncycastle.crypto.CryptoException
Specified by:
sendMessage in interface CommunicationHandler
Throws:
IOException
ClassNotFoundException
org.bouncycastle.crypto.CryptoException

stop

public void stop()
Specified by:
stop in interface CommunicationHandler


Copyright © 2014 universAAL Consortium. All Rights Reserved.