dimawo.middleware.communication.outputStream
Class MessageOutputStreamAccessor
java.lang.Object
dimawo.middleware.communication.outputStream.MessageOutputStreamAccessor
- All Implemented Interfaces:
- MOSAccessorInterface, Comparable<MessageOutputStreamAccessor>
public class MessageOutputStreamAccessor
- extends Object
- implements MOSAccessorInterface, Comparable<MessageOutputStreamAccessor>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageOutputStreamAccessor
public MessageOutputStreamAccessor(int uid,
Communicator com,
MOSCallBack cb,
MessageOutputStream mos)
writeBlockingMessage
public void writeBlockingMessage(Message m)
throws IOException,
InterruptedException
- Specified by:
writeBlockingMessage
in interface MOSAccessorInterface
- Throws:
IOException
InterruptedException
writeNonBlockingMessage
public void writeNonBlockingMessage(Message m)
- Specified by:
writeNonBlockingMessage
in interface MOSAccessorInterface
close
public void close()
throws IOException,
InterruptedException
- Specified by:
close
in interface MOSAccessorInterface
- Throws:
IOException
InterruptedException
confirmClose
public void confirmClose(boolean success)
compareTo
public int compareTo(MessageOutputStreamAccessor other)
- Specified by:
compareTo
in interface Comparable<MessageOutputStreamAccessor>
signalBroken
public void signalBroken()
getDestinationDAId
public DAId getDestinationDAId()
- Specified by:
getDestinationDAId
in interface MOSAccessorInterface
Copyright © 2011 DiMaWo Team. All Rights Reserved.