public class RequestSender extends Object implements Closeable
Constructor and Description |
---|
RequestSender(String name,
Tube tubeline) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.sun.xml.ws.api.message.Packet |
send(com.sun.xml.ws.api.message.Packet request)
Sends the request
Packet and returns the corresponding response Packet . |
void |
sendAsync(com.sun.xml.ws.api.message.Packet request,
Fiber.CompletionCallback completionCallback) |
public com.sun.xml.ws.api.message.Packet send(com.sun.xml.ws.api.message.Packet request)
Packet
and returns the corresponding response Packet
.
This method should be used for Req-Resp MEPrequest
- Packet
containing the message to be sendMessage
wrapped in a response Packet
receivedpublic void sendAsync(com.sun.xml.ws.api.message.Packet request, Fiber.CompletionCallback completionCallback)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2015 Oracle Corporation. All rights reserved.