Search in sources :

Example 11 with AConnectionEvent

use of util.trace.port.AConnectionEvent in project GIPC by pdewan.

the class ADuplexObjectServerInputPort method setSendTrapper.

// @Override
public void setSendTrapper(SendTrapper<Object, Object> newVal) {
    singleMessageForwarder = newVal;
    ConnectiontEventBus.newEvent(new AConnectionEvent(this, singleMessageForwarder, true));
}
Also used : AConnectionEvent(util.trace.port.AConnectionEvent)

Example 12 with AConnectionEvent

use of util.trace.port.AConnectionEvent in project GIPC by pdewan.

the class AGenericDuplexBufferClientInputPort method setReceiveTrapper.

public void setReceiveTrapper(ReceiveTrapper<ByteBuffer, ByteBuffer> aReceiveTrapper) {
    Tracer.info(this, "Set my receive trapper to:" + aReceiveTrapper);
    this.receiveTrapper = aReceiveTrapper;
    ConnectiontEventBus.newEvent(new AConnectionEvent(this, receiveTrapper, false));
}
Also used : AConnectionEvent(util.trace.port.AConnectionEvent)

Example 13 with AConnectionEvent

use of util.trace.port.AConnectionEvent in project GIPC by pdewan.

the class AnAbstractGroupToUniSendTrapper method setDestination.

@Override
public void setDestination(NamingSender<OutMessageType> newVal) {
    destination = newVal;
    ConnectiontEventBus.newEvent(new AConnectionEvent(this, newVal, true));
}
Also used : AConnectionEvent(util.trace.port.AConnectionEvent)

Example 14 with AConnectionEvent

use of util.trace.port.AConnectionEvent in project GIPC by pdewan.

the class AnAbstractSendTrapper method setDestination.

@Override
public void setDestination(NamingSender<OutMessageType> aDestination) {
    Tracer.info(this, "Setting send destination to:" + aDestination);
    destination = aDestination;
    ConnectiontEventBus.newEvent(new AConnectionEvent(this, aDestination, true));
}
Also used : AConnectionEvent(util.trace.port.AConnectionEvent)

Example 15 with AConnectionEvent

use of util.trace.port.AConnectionEvent in project GIPC by pdewan.

the class AnAbstractMultiToReplicatedSendTrapper method setDestination.

@Override
public void setDestination(GroupSender<OutMessageType> newVal) {
    destination = newVal;
    ConnectiontEventBus.newEvent(new AConnectionEvent(this, destination, true));
}
Also used : AConnectionEvent(util.trace.port.AConnectionEvent)

Aggregations

AConnectionEvent (util.trace.port.AConnectionEvent)15 ByteBuffer (java.nio.ByteBuffer)1 ServerPortDescription (port.sessionserver.ServerPortDescription)1