com.github.pgasync.impl.message.NotificationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgres-async-driver Show documentation
Show all versions of postgres-async-driver Show documentation
Asynchronous PostgreSQL Java driver
package com.github.pgasync.impl.message;
/**
* @author Antti Laisi
*/
public class NotificationResponse implements Message {
final int backend;
final String channel;
final String payload;
public NotificationResponse(int backend, String channel, String payload) {
this.backend = backend;
this.channel = channel;
this.payload = payload;
}
public String getChannel() {
return channel;
}
public String getPayload() {
return payload;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy